[media] dib8000: Fix: add missing 4K FFT mode
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 17:15:30 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Jul 2014 12:55:38 +0000 (09:55 -0300)
Without that, tuning may fail on 4K FFT mode, as the transmission
parameter cache will be initialized with a wrong value.

Acked-By: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c

index 43d1261afba01553e2f4b5b9fc3a751954ca025e..d4f37f569c5cacd8e47929dc6fcb1829f76198a2 100644 (file)
@@ -3432,6 +3432,9 @@ static int dib8000_get_frontend(struct dvb_frontend *fe)
        case 1:
                fe->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_2K;
                break;
+       case 2:
+               fe->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_4K;
+               break;
        case 3:
        default:
                fe->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_8K;