aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2022-03-17 12:37:12 +0000
committerMauro Carvalho Chehab <[email protected]>2022-07-15 15:02:39 +0100
commit718d2153ad0de0c7c0b6891eaa7f9918d68b6d5e (patch)
tree8436bee17e3efa1dd634406701c1459576052106 /tools/perf/scripts/python/exported-sql-viewer.py
parentb0afed239a5baf72cacc3023e852c7a5125c2a8f (diff)
media: v4l2: Make colorspace validity checks more future-proof
The helper functions that test validity of colorspace-related fields use the last value of the corresponding enums. This isn't very future-proof, as there's a high chance someone adding a new value may forget to update the helpers. Add new "LAST" entries to the enumerations to improve this, and keep them private to the kernel. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Sakari Ailus <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions