diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/tda8261.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda8261.c b/drivers/media/dvb/frontends/tda8261.c index a6cd2b362b6e..9cbd511d749e 100644 --- a/drivers/media/dvb/frontends/tda8261.c +++ b/drivers/media/dvb/frontends/tda8261.c | |||
@@ -73,6 +73,8 @@ static int tda8261_get_status(struct dvb_frontend *fe, u32 *status) | |||
73 | u8 result = 0; | 73 | u8 result = 0; |
74 | int err = 0; | 74 | int err = 0; |
75 | 75 | ||
76 | *status = 0; | ||
77 | |||
76 | if ((err = tda8261_read(state, &result)) < 0) { | 78 | if ((err = tda8261_read(state, &result)) < 0) { |
77 | printk("%s: I/O Error\n", __func__); | 79 | printk("%s: I/O Error\n", __func__); |
78 | return err; | 80 | return err; |
@@ -184,6 +186,7 @@ static struct dvb_tuner_ops tda8261_ops = { | |||
184 | 186 | ||
185 | .set_state = tda8261_set_state, | 187 | .set_state = tda8261_set_state, |
186 | .get_state = tda8261_get_state, | 188 | .get_state = tda8261_get_state, |
189 | .get_status = tda8261_get_status, | ||
187 | .release = tda8261_release | 190 | .release = tda8261_release |
188 | }; | 191 | }; |
189 | 192 | ||