diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2025-04-10 19:39:26 +0300 |
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-04-10 19:49:19 +0300 |
| commit | f1c9c2bdf74370fd75caf108faebfc13d108b3d5 (patch) | |
| tree | 1b0b011fc663bdd6d7269d0567e46146f6e070bb /include | |
| parent | 3e445c7855f8240d1f8473d127307dd967be2d25 (diff) | |
Use key_value to handle V4L2 field names
Extend the key_value helper with a function to retrieve the key
corresponding to a value, and use it to replace the manual
implementation of V4L2 field name lookup.
The name comparison needs to be made case-insensitive to avoid breaking
users, as yavta handles V4L2 field names in a case-insensitive way.
Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
