Skip to content

Commit

Permalink
V4L/DVB (12258): em28xx: fix typo in mt352 init sequence for Terratec…
Browse files Browse the repository at this point in the history
… Cinergy T XS USB

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>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Jul 24, 2009
1 parent 4fb202a commit ff69786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/em28xx/em28xx-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff69786

Please sign in to comment.