Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: i2c: ov5647: Add checks for link frequency
Added validation for the link-frequency in the driver. The new checks ensure that: - The link-frequency property is present in the device tree - The number of link frequencies matches the ov5647_link_freqs array size - The link frequencies in the device tree match the supported values in ov5647_link_freqs array These checks help avoid misconfigurations and prevent runtime errors due to incorrect declarations Signed-off-by: Dominik Bajec <[email protected]>
- Loading branch information