summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorRicardo Cerqueira <v4l@cerqueira.org>2005-11-08 21:37:56 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:22 -0800
commitac9cd97640a8bcad75dc7305761365c3e339bbc5 (patch)
treea5061e3804d7cc5debbd0277ba10fedbd3a3b2b0 /drivers/media/video/em28xx
parentf4067fd46aa330d6df0a79b9dd0eb9555809c440 (diff)
downloadlinux-ac9cd97640a8bcad75dc7305761365c3e339bbc5.tar.bz2
[PATCH] v4l: 817: saa713x keymaps and key builders were moved from ir kbd i2c c
- SAA713x keymaps and key builders were moved from ir-kbd-i2c.c Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c
index 8681a793a0bf..e13585898f58 100644
--- a/drivers/media/video/em28xx/em28xx-input.c
+++ b/drivers/media/video/em28xx/em28xx-input.c
@@ -141,8 +141,10 @@ static int get_key_em_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
/* ----------------------------------------------------------------------- */
void em2820_set_ir(struct em2820 * dev,struct IR_i2c *ir)
{
- if (disable_ir)
+ if (disable_ir) {
+ ir->get_key=NULL;
return ;
+ }
/* detect & configure */
switch (dev->model) {