]> git.baikalelectronics.ru Git - kernel.git/commit
media: tc358743: validate lane count
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 17 Oct 2017 11:05:11 +0000 (13:05 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 14:15:36 +0000 (16:15 +0200)
commitb78133e9da8b5e041210a4dc2558b4a91ef69b02
tree2cba8f08f52a28b05fbac326b1c51f94e23f62bb
parent0207b3fef412f7d2088c638f8cec73ecda870100
media: tc358743: validate lane count

The TC358743 does not support more than 4 data lanes. Check that the
lane count is valid.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tc358743.c