diff options
author | Xianwei Zhao <[email protected]> | 2023-07-07 08:37:07 +0800 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2023-07-31 11:49:50 +0200 |
commit | fadf18180022743ff74b1f6ca4f3cff462ddaddb (patch) | |
tree | 31790858fdc3054255cec086edb38a4c067fe319 /drivers/media/v4l2-core/v4l2-ctrls-request.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
soc: amlogic: use name instead of index as criterion
The variate 'index' could be equal to zero in some SoCs. Such as C3 SoC,
PWRC_C3_NNA_ID be defined zero. Use 'name' instead of 'index' as criterion.
Signed-off-by: Xianwei Zhao <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Reviewed-by: Dmitry Rokosov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions