diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/frontends/stv090x.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index 4e89bb02bff3..488bdfb34fb3 100644 --- a/drivers/media/dvb/frontends/stv090x.c +++ b/drivers/media/dvb/frontends/stv090x.c | |||
@@ -2694,10 +2694,13 @@ static u8 stv090x_optimize_carloop_short(struct stv090x_state *state) | |||
2694 | break; | 2694 | break; |
2695 | } | 2695 | } |
2696 | 2696 | ||
2697 | if (state->dev_ver >= 0x30) | 2697 | if (state->dev_ver >= 0x30) { |
2698 | short_crl = stv090x_s2_short_crl_cut20; | 2698 | /* Cut 3.0 and up */ |
2699 | else if (state->dev_ver >= 0x20) | ||
2700 | short_crl = stv090x_s2_short_crl_cut30; | 2699 | short_crl = stv090x_s2_short_crl_cut30; |
2700 | } else { | ||
2701 | /* Cut 2.0 and up: we don't support cuts older than 2.0 */ | ||
2702 | short_crl = stv090x_s2_short_crl_cut20; | ||
2703 | } | ||
2701 | 2704 | ||
2702 | if (state->srate <= 3000000) | 2705 | if (state->srate <= 3000000) |
2703 | aclc = short_crl[index].crl_2; | 2706 | aclc = short_crl[index].crl_2; |