]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
V4L/DVB (12258): em28xx: fix typo in mt352 init sequence for Terratec Cinergy T XS USB
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Sun, 12 Jul 2009 21:44:19 +0000 (18:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:27 +0000 (14:03 -0300)
Andy walls pointed out that we were passing 0x5d to the TUNER_GO register,
instead of 0x01.  Set the register properly (note the code did still work with
the incorrect value, so this does not address a regression).

Thanks to Andy Walls for noticing the issue.

Cc: Andy Walls <awalls@radix.net>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-dvb.c

index d57f7583ac6661f47e023d1f43c09f2a65350245..f3f0e8fe73c6aa81518c4771ba0fef5e3b5bea24 100644 (file)
@@ -272,7 +272,7 @@ static int mt352_terratec_xs_init(struct dvb_frontend *fe)
        static u8 capt_range_cfg[] = { CAPT_RANGE, 0x32 };
        static u8 trl_nom_cfg[]    = { TRL_NOMINAL_RATE_1, 0x64, 0x00 };
        static u8 tps_given_cfg[]  = { TPS_GIVEN_1, 0x40, 0x80, 0x50 };
-       static u8 tuner_go[]       = { TUNER_GO, 0x5d};
+       static u8 tuner_go[]       = { TUNER_GO, 0x01};
 
        mt352_write(fe, clock_config,   sizeof(clock_config));
        udelay(200);