[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)
commitd87a50586dbeb2b6019b9e695799838401f21db6
tree4d7a842079bb7a8f60fc2b2263e3d2d712048e56
parent7ac95cf59d59473e680937319594ce0719497e98
[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