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)
commit9d39e46bdd9df945669a9039660a3194bdc8d0ac
tree2cba8f08f52a28b05fbac326b1c51f94e23f62bb
parentcef6673440a29a9a2fd39a57d5ba28e6c68c7a76
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