Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] dib0700: add a sleep before attempting to detect dib7000p

Add a sleep since in some cases the dib7000p wasn't online when being probed.
The optimal timing has not yet been determined.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Devin Heitmueller and committed by
Mauro Carvalho Chehab
2750d9c3 59d0c37b

+2
+2
drivers/media/dvb/dvb-usb/dib0700_devices.c
··· 2722 2722 /* FIXME: not verified yet */ 2723 2723 dib0700_ctrl_clock(adap->dev, 72, 1); 2724 2724 2725 + msleep(500); 2726 + 2725 2727 if (dib7000pc_detection(&adap->dev->i2c_adap) == 0) { 2726 2728 /* Demodulator not found for some reason? */ 2727 2729 return -ENODEV;