Skip to content

Commit

Permalink
Revert "staging: media: cxd2099: use usleep_range()"
Browse files Browse the repository at this point in the history
This reverts commit 7b86477.

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>
  • Loading branch information
gregkh committed Oct 2, 2014
1 parent f823182 commit 89f9043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/cxd2099/cxd2099.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
u8 val;
#endif
for (i = 0; i < 100; i++) {
usleep_range(10000, 11000)
msleep(10);
#if 0
read_reg(ci, 0x06, &val);
dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);
Expand Down

0 comments on commit 89f9043

Please sign in to comment.