diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-03-13 19:52:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:50 -0400 |
commit | cf83ac433c275b8a652492cabdb39b88a7f8d45c (patch) | |
tree | f9aaf689bd5c7966ea43751727c6758e5179796b | |
parent | 80d352374be7ac88a23fb427d146ac9a71beff90 (diff) |
V4L/DVB (5444): Saa7134-dvb fix sleep function of the fmd1216 tuner.
Static locals should not be changed - the original contents gets lost.
Thanks to Trent Piepho for pointing me to this.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index aa17873aa163..531eb57e331f 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -468,7 +468,7 @@ static int philips_fmd1216_tuner_sleep(struct dvb_frontend *fe) | |||
468 | struct tda1004x_state *state = fe->demodulator_priv; | 468 | struct tda1004x_state *state = fe->demodulator_priv; |
469 | u8 addr = state->config->tuner_address; | 469 | u8 addr = state->config->tuner_address; |
470 | /* this message actually turns the tuner back to analog mode */ | 470 | /* this message actually turns the tuner back to analog mode */ |
471 | static u8 fmd1216_init[] = { 0x0b, 0xdc, 0x9c, 0x60 }; | 471 | u8 fmd1216_init[] = { 0x0b, 0xdc, 0x9c, 0x60 }; |
472 | struct i2c_msg tuner_msg = {.addr = addr,.flags = 0,.buf = fmd1216_init,.len = sizeof(fmd1216_init) }; | 472 | struct i2c_msg tuner_msg = {.addr = addr,.flags = 0,.buf = fmd1216_init,.len = sizeof(fmd1216_init) }; |
473 | 473 | ||
474 | if (fe->ops.i2c_gate_ctrl) | 474 | if (fe->ops.i2c_gate_ctrl) |