aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/cxd2099
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:27:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:27:37 -0700
commit89f904388d5fd728b77a489e135fdc4c69cf4ba0 (patch)
tree5e411ed4e87cd9aba7e716960691aeaa97b8082f /drivers/staging/media/cxd2099
parentstaging: r8192ee: Remove staging driver (diff)
downloadlinux-dev-89f904388d5fd728b77a489e135fdc4c69cf4ba0.tar.xz
linux-dev-89f904388d5fd728b77a489e135fdc4c69cf4ba0.zip
Revert "staging: media: cxd2099: use usleep_range()"
This reverts commit 7b86477c0e5b7b1406f27da519d4df841f306b92. 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>
Diffstat (limited to 'drivers/staging/media/cxd2099')
-rw-r--r--drivers/staging/media/cxd2099/cxd2099.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
index cda15951fc89..73e7b2c9e4a7 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -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);