[media] adv7180: Prepare for multi-chip support
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 23 Jan 2015 15:52:28 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:47:19 +0000 (11:47 -0200)
commitf5dde49b8f362bdc53dbdbd3a579fac5e66d878d
tree9b434045d1f0d648c724639f3e11e10b8794f4e2
parent3e35e33c086ca81e0576ad1ace22ca058d071b2c
[media] adv7180: Prepare for multi-chip support

The adv7180 is part of a larger family of device, which have all a very
similar register map layout. This patch prepares the adv7180 driver for
support for multiple different devices. For now the only difference we care
about is the number of input channel configurations. Also the way the input
format is configured slightly differs between some devices.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7180.c