[media] dib8000: Restart sad during dib8000_reset
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 17:15:33 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Jul 2014 12:56:30 +0000 (09:56 -0300)
Just like the Windows driver, restart SAD during reset

Acked-By: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c

index 7088940b634e58cb7df95768c0cf91b1f8fc07cb..5d1e141d3109c7911a32e18b1d1274fb9a5dfeb5 100644 (file)
@@ -1050,6 +1050,7 @@ static int dib8000_reset(struct dvb_frontend *fe)
        dib8000_write_word(state, 770, 0xffff);
        dib8000_write_word(state, 771, 0xffff);
        dib8000_write_word(state, 772, 0xfffc);
+       dib8000_write_word(state, 898, 0x000c); /* restart sad */
        if (state->revision == 0x8090)
                dib8000_write_word(state, 1280, 0x0045);
        else