mirror of https://gitee.com/openkylin/linux.git
Revert "staging: media: cxd2099: use usleep_range()"
This reverts commit 7b86477c0e
.
It was broken and broke the build :(
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f823182bc2
commit
89f904388d
|
@ -527,7 +527,7 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
|
||||||
u8 val;
|
u8 val;
|
||||||
#endif
|
#endif
|
||||||
for (i = 0; i < 100; i++) {
|
for (i = 0; i < 100; i++) {
|
||||||
usleep_range(10000, 11000)
|
msleep(10);
|
||||||
#if 0
|
#if 0
|
||||||
read_reg(ci, 0x06, &val);
|
read_reg(ci, 0x06, &val);
|
||||||
dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);
|
dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);
|
||||||
|
|
Loading…
Reference in New Issue