media: rtl28xxu: add missing sleep before probing slave demod
Slave demod needs some time to wake up otherwise it may not respond to the following probe commands. This problem manifested randomly on my Astrometa DVB-T2 dongle. Signed-off-by: Mario Hros <git@reversity.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
806d06161a
commit
62d1928531
|
@ -552,6 +552,9 @@ tuner_found:
|
|||
if (ret)
|
||||
goto err;
|
||||
|
||||
/* slave demod needs some time to wake up */
|
||||
msleep(20);
|
||||
|
||||
/* check slave answers */
|
||||
ret = rtl28xxu_ctrl_msg(d, &req_mn88472);
|
||||
if (ret == 0 && buf[0] == 0x02) {
|
||||
|
|
Loading…
Reference in New Issue