linux/drivers/media/platform/cadence
Christophe JAILLET 4ccbec2a14 media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()'
commit 2eca8e4c1d upstream.

The 2nd parameter of 'find_first_zero_bit()' is a number of bits, not of
bytes. So use 'csi2rx->max_lanes' instead of 'sizeof(lanes_used)'.

Fixes: 1fc3b37f34 ("media: v4l: cadence: Add Cadence MIPI-CSI2 RX driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:48:57 +01:00
..
Kconfig
Makefile
cdns-csi2rx.c media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()' 2020-01-17 19:48:57 +01:00
cdns-csi2tx.c