From 7fec1c80a78eefd898d09e6b6732e05eb1b80977 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 14:15:30 -0300 Subject: [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 --- drivers/media/dvb-frontends/dib8000.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/media/dvb-frontends/dib8000.c') 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; -- cgit v1.2.3