summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-07 13:10:24 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:25:05 -0500
commitf5885f40976bc8c8cb8fa17616ccc423f6daae04 (patch)
tree405a239012ce0174577ea5a4e7812ba64d5f85ff /drivers/media/usb/au0828
parent2871f352c600d36b1b8ba57c79029cf8aa512948 (diff)
downloadblackbird-op-linux-f5885f40976bc8c8cb8fa17616ccc423f6daae04.tar.gz
blackbird-op-linux-f5885f40976bc8c8cb8fa17616ccc423f6daae04.zip
[media] au0828: no need to sleep at the IR code
This sleep was doing some debouncing on the original driver. This is not needed on Linux, because the RC core and the input layer already takes care of it. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828')
-rw-r--r--drivers/media/usb/au0828/au0828-input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/au0828/au0828-input.c b/drivers/media/usb/au0828/au0828-input.c
index fd0d3a90ce7d..39ddf3c4fdfe 100644
--- a/drivers/media/usb/au0828/au0828-input.c
+++ b/drivers/media/usb/au0828/au0828-input.c
@@ -135,8 +135,6 @@ static int au0828_get_key_au8522(struct au0828_rc *ir)
/* Disable IR */
au8522_rc_clear(ir, 0xe0, 1 << 4);
- usleep_range(45000, 46000);
-
/* Enable IR */
au8522_rc_set(ir, 0xe0, 1 << 4);
OpenPOWER on IntegriCloud