]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tvp5150: store dev id and rom version
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 5 Feb 2016 19:09:54 +0000 (17:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 11:38:41 +0000 (09:38 -0200)
commit0102cb881ab1cda7c7a4ffe1030388da49e1fc82
treed9ef60e5363b9a11d0b2d1e12b61830a8679efdc
parent7aa817527b46a928e8c93519cf7af0d1bc0a6591
[media] tvp5150: store dev id and rom version

Not all tvp5150 variants support the same, for example some have an
internal signal generator that can output a black screen.

So the device id and rom version have to be stored in the driver's
state to know what variant is a given device.

While being there, remove some redundant comments about the device
version since there is already calls to v4l2_info() with that info.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp5150.c