From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 17:15:30 +0000 (-0300) Subject: [media] dib8000: Fix: add missing 4K FFT mode X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7fec1c80a78eefd898d09e6b6732e05eb1b80977;p=linux-beck.git [media] dib8000: Fix: add missing 4K FFT mode 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index 43d1261afba0..d4f37f569c5c 100644 --- a/drivers/media/dvb-frontends/dib8000.c +++ b/drivers/media/dvb-frontends/dib8000.c @@ -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;