-
Notifications
You must be signed in to change notification settings - Fork 5k
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` property 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
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters