diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2021-06-24 14:05:24 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-08-04 14:43:51 +0200 |
commit | a40eba9b26f70c7a967647a05ce0ef84e82140ba (patch) | |
tree | 574c68b15d50d44612c8b9ee31f96b1a58daa8c6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 41a95d043fa59e99ce4440c38640576232ef5f74 (diff) |
media: v4l2-flash: Add sanity checks for flash and indicator controls
The V4L2 flash API supports combinations of indicator and flash LEDs. Due
to this, there's a fair amount of code that deals with all the possible
options and just reading one part of the file doesn't really tell which
combinations are really possible.
Make the checks more explicit to keep static analysers happy and to make
the code more resilient to future mishaps.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions