summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/it913x.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-07 22:18:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 19:05:24 -0300
commit086991dd106bda1c43a294a874563322e0d777e4 (patch)
treefbd4c78a71d5aee2c58625d75d1cbe22e555f55a /drivers/media/tuners/it913x.c
parentd423e108c1d6ced41964fafc97c02e4b5d0597a1 (diff)
downloadlinux-086991dd106bda1c43a294a874563322e0d777e4.tar.gz
linux-086991dd106bda1c43a294a874563322e0d777e4.tar.xz
[media] af9033: move code from it913x to af9033
That register is property of demodulator so move it correct place. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/it913x.c')
-rw-r--r--drivers/media/tuners/it913x.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/tuners/it913x.c b/drivers/media/tuners/it913x.c
index 2c60bf77ebfc..4d7a24761050 100644
--- a/drivers/media/tuners/it913x.c
+++ b/drivers/media/tuners/it913x.c
@@ -145,12 +145,6 @@ static int it913x_init(struct dvb_frontend *fe)
u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2};
u8 b[2];
- if (state->chip_ver == 2) {
- ret = it913x_wr_reg(state, PRO_DMOD, TRIGGER_OFSM, 0x1);
- if (ret < 0)
- return -ENODEV;
- }
-
reg = it913x_rd_reg(state, 0xec86);
switch (reg) {
case 0: