summaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@linux.dev>2025-12-09 23:44:42 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-01-16 14:08:53 +0100
commitb95d8058a2786a8b42e32f383f8df45097675d00 (patch)
treeb952ae3f29c23687ca4cba65d393ff6a5e44a95f /scripts/const_structs.checkpatch
parent84ec7597ae1afb9430c55044f318d1d40f8ecef0 (diff)
downloadlinux-b95d8058a2786a8b42e32f383f8df45097675d00.tar.gz
linux-b95d8058a2786a8b42e32f383f8df45097675d00.zip
media: i2c: ov9282: implement try_ctrl for strobe_duration
As the granularity of the hardware supported values is lower than the control value, implement a try_ctrl() function for V4L2_CID_FLASH_DURATION. This function calculates the nearest possible µs strobe duration for the given value and returns it back to the caller. Signed-off-by: Richard Leitner <richard.leitner@linux.dev> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions