]> git.baikalelectronics.ru Git - kernel.git/commit
[media] si2157: Add support for Si2147-A30 tuner
authorOlli Salonen <olli.salonen@iki.fi>
Thu, 11 Sep 2014 20:01:38 +0000 (17:01 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:39 +0000 (16:13 -0300)
commitca94b68541ac52be6493b606c270f7129e49bbb9
tree4d7a842079bb7a8f60fc2b2263e3d2d712048e56
parent37de1cc476a9b7e9d933ea46fee8a861d2114b36
[media] si2157: Add support for Si2147-A30 tuner

This patch adds support for Si2147-A30 tuner. Fairly trivial, no firmware needed for this tuner. However, command 14 00 02 07 01 00 seems to be mandatory. On Si2157 and Si2158 the value 0x0100 is the default value, so this patch does not impact the existing tuners/devices. On Si2147 the default is 0x0000 and I can't get a lock with that value.

While here, fix the return length of the previous set command to 4 bytes.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/si2157.c
drivers/media/tuners/si2157.h
drivers/media/tuners/si2157_priv.h