diff options
Diffstat (limited to 'drivers/media/dvb/frontends/au8522.c')
-rw-r--r-- | drivers/media/dvb/frontends/au8522.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/au8522.c b/drivers/media/dvb/frontends/au8522.c index dc01e75cdc60..9fb61e6ed679 100644 --- a/drivers/media/dvb/frontends/au8522.c +++ b/drivers/media/dvb/frontends/au8522.c | |||
@@ -340,7 +340,10 @@ static int au8522_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) | |||
340 | { | 340 | { |
341 | struct au8522_state *state = fe->demodulator_priv; | 341 | struct au8522_state *state = fe->demodulator_priv; |
342 | 342 | ||
343 | *ucblocks = au8522_readreg(state, 0x4087); | 343 | if (state->current_modulation == VSB_8) |
344 | *ucblocks = au8522_readreg(state, 0x4087); | ||
345 | else | ||
346 | *ucblocks = au8522_readreg(state, 0x4543); | ||
344 | 347 | ||
345 | return 0; | 348 | return 0; |
346 | } | 349 | } |