Commit 62d19285 authored by Mario Hros's avatar Mario Hros Committed by Mauro Carvalho Chehab

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: default avatarMario Hros <git@reversity.org>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 806d0616
......@@ -552,6 +552,9 @@ static int rtl2832u_read_config(struct dvb_usb_device *d)
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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment