diff options
author | 2024-03-12 02:45:20 +0000 | |
---|---|---|
committer | 2024-05-03 10:33:16 +0100 | |
commit | 776f1bde345d0e21e31de766d94154f77f6bf1cd (patch) | |
tree | dcb25f07e8a1d17c65856ac62cd6c20080251717 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: mtk-vcodec: potential null pointer deference in SCP (diff) | |
download | wireguard-linux-776f1bde345d0e21e31de766d94154f77f6bf1cd.tar.xz wireguard-linux-776f1bde345d0e21e31de766d94154f77f6bf1cd.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions