]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
media: dvb-core/dvb_frontend: set better default for ISDB-T
authorAkihiro Tsukada <tskd08@gmail.com>
Tue, 27 Mar 2018 16:56:58 +0000 (12:56 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 18:44:04 +0000 (14:44 -0400)
DTV_ISDBT_LAYER_ENABLED parameter should be set to "All" by default,
instead of "None", as described in the API document.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-core/dvb_frontend.c

index a4ada1ccf0df1e5f3f558f974c3a9dc34243b469..bc5eaad0f915162242c2fd6133fe9d3da9c56f4c 100644 (file)
@@ -980,7 +980,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
        c->isdbt_sb_subchannel = 0;
        c->isdbt_sb_segment_idx = 0;
        c->isdbt_sb_segment_count = 0;
-       c->isdbt_layer_enabled = 0;
+       c->isdbt_layer_enabled = 7;     /* All layers (A,B,C) */
        for (i = 0; i < 3; i++) {
                c->layer[i].fec = FEC_AUTO;
                c->layer[i].modulation = QAM_AUTO;