Without that, tuning may fail on 4K modes, as the transmission
parameter cache will be initialized with a wrong value.

Signed-off-by: Mauro Carvalho Chehab <m.che...@samsung.com>
---
 drivers/media/dvb-frontends/dib8000.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/media/dvb-frontends/dib8000.c 
b/drivers/media/dvb-frontends/dib8000.c
index 7751a35a008c..975cbddd71dd 100644
--- a/drivers/media/dvb-frontends/dib8000.c
+++ b/drivers/media/dvb-frontends/dib8000.c
@@ -3433,6 +3433,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;
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to