diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-03-14 00:52:35 +0100 |
---|---|---|
committer | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-03-14 00:52:35 +0100 |
commit | 1225e09612f6ad652ca3b302ee6dcb79ccd8d45a (patch) | |
tree | 7d4212eea98da46d149bb55434a1541b16b47110 /linux/drivers | |
parent | 8b3e37032ff20edf54ff93d641c172d2f6598fb3 (diff) | |
download | mediapointer-dvb-s2-1225e09612f6ad652ca3b302ee6dcb79ccd8d45a.tar.gz mediapointer-dvb-s2-1225e09612f6ad652ca3b302ee6dcb79ccd8d45a.tar.bz2 |
saa7134-dvb fix sleep function of the fmd1216 tuner.
From: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c index 4de46b2d7..9bc8e9bc1 100644 --- a/linux/drivers/media/video/saa7134/saa7134-dvb.c +++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c @@ -469,7 +469,7 @@ static int philips_fmd1216_tuner_sleep(struct dvb_frontend *fe) struct tda1004x_state *state = fe->demodulator_priv; u8 addr = state->config->tuner_address; /* this message actually turns the tuner back to analog mode */ - static u8 fmd1216_init[] = { 0x0b, 0xdc, 0x9c, 0x60 }; + u8 fmd1216_init[] = { 0x0b, 0xdc, 0x9c, 0x60 }; struct i2c_msg tuner_msg = {.addr = addr,.flags = 0,.buf = fmd1216_init,.len = sizeof(fmd1216_init) }; if (fe->ops.i2c_gate_ctrl) |