diff options
author | Benjamin Mugnier <benjamin.mugnier@foss.st.com> | 2023-02-01 17:04:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-03-20 02:36:53 +0300 |
commit | c2402afcd338b61a7626968a5e9728594459a5de (patch) | |
tree | b77721075d794676415899b2c1d51542d2fad20c /drivers/media/v4l2-core | |
parent | 44b22d45cd45550a9930f5be4e25fc9001e6820b (diff) | |
download | linux-c2402afcd338b61a7626968a5e9728594459a5de.tar.xz |
media: i2c: st-vgxy61: Use VGXY61_NB_POLARITIES instead of hardcoded value in tx_from_ep
tx_from_ep's for loop uses '5' as bound, while in fact it refers to the
number of polarities. Replace it by VGXY61_NB_POLARITIES for
factorization.
Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core')
0 files changed, 0 insertions, 0 deletions