diff options
author | Changhuang Liang <changhuang.liang@starfivetech.com> | 2024-03-12 02:45:20 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-05-03 10:33:16 +0100 |
commit | 776f1bde345d0e21e31de766d94154f77f6bf1cd (patch) | |
tree | dcb25f07e8a1d17c65856ac62cd6c20080251717 /tools/perf/scripts/python/syscall-counts.py | |
parent | 53dbe08504442dc7ba4865c09b3bbf5fe849681b (diff) |
media: staging: media: starfive: Clean pad selection in isp_try_format()
The code to select isp_dev->formats[] is overly complicated. We can
just use the "pad" as the index. This will making adding new pads
easier in future patches. No functional change.
Link: https://lore.kernel.org/linux-media/20240312024520.11022-1-changhuang.liang@starfivetech.com
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions