diff options
author | Li Zetao <[email protected]> | 2024-08-30 03:17:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-09-06 11:56:54 +0200 |
commit | 9a5e69c030608aec545201398be626102272bf72 (patch) | |
tree | 1b99206b77f771e927df3f1f9b4dfa4b0e8d03ea /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 7adc7193537470839ec66ecbdb54f4dc9092e6f6 (diff) |
media: atomisp: use clamp() in compute_coring()
When it needs to get a value within a certain interval, using clamp()
makes the code easier to understand than min(max()).
Signed-off-by: Li Zetao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions