summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/dib8000.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 14:15:30 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-07 09:55:38 -0300
commit7fec1c80a78eefd898d09e6b6732e05eb1b80977 (patch)
treee58394aa269cd68d9f90bb793e55f8df3c86de9e /drivers/media/dvb-frontends/dib8000.c
parent7fa676c6f4d758271dfe6ff5b4bfece3eacb9aeb (diff)
downloadlinux-7fec1c80a78eefd898d09e6b6732e05eb1b80977.tar.gz
linux-7fec1c80a78eefd898d09e6b6732e05eb1b80977.tar.bz2
linux-7fec1c80a78eefd898d09e6b6732e05eb1b80977.zip
[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 <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib8000.c')
-rw-r--r--drivers/media/dvb-frontends/dib8000.c3
1 files changed, 3 insertions, 0 deletions
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;