summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-07 13:10:24 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:25 +0900
commitdf29c50dfc23f433712e7c5d021ab86df9f34389 (patch)
tree1ee07a3d88f63416f9f4f597cbda96a7cfd73450 /drivers/media
parenta05b0c7003fe54c2cc0929ceb0c0c4b671798410 (diff)
downloadlinux-3.10-df29c50dfc23f433712e7c5d021ab86df9f34389.tar.gz
linux-3.10-df29c50dfc23f433712e7c5d021ab86df9f34389.tar.bz2
linux-3.10-df29c50dfc23f433712e7c5d021ab86df9f34389.zip
upstream: [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. Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=8cf3799c5c7c Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Change-Id: Ic6e4a1cf2c585ed4ff551f1ed8061de23e385864
Diffstat (limited to 'drivers/media')
-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 36d74be2d00..2d52a8092da 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);