diff options
author | Changhuang Liang <changhuang.liang@starfivetech.com> | 2024-03-12 05:45:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-05-03 12:33:16 +0300 |
commit | 776f1bde345d0e21e31de766d94154f77f6bf1cd (patch) | |
tree | dcb25f07e8a1d17c65856ac62cd6c20080251717 /drivers/media | |
parent | 53dbe08504442dc7ba4865c09b3bbf5fe849681b (diff) | |
download | linux-776f1bde345d0e21e31de766d94154f77f6bf1cd.tar.xz |
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 'drivers/media')
0 files changed, 0 insertions, 0 deletions