V4L/DVB (12495): em28xx: Don't call em28xx_ir_init when disable_ir is true
authorShine Liu <shinel@foxmail.com>
Fri, 21 Aug 2009 02:49:26 +0000 (23:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Aug 2009 05:24:53 +0000 (02:24 -0300)
commitf4c5e80faba8ae420d7dc5d9237cc1e0262d7386
tree16026ca20409d59dc266745e58f427cbd557008a
parent7b808924d65a4d1a0332d0043e02e9eb5dafe32b
V4L/DVB (12495): em28xx: Don't call em28xx_ir_init when disable_ir is true

We should call em28xx_ir_init(dev) only when disable_ir is true.

Signed-off-by: Shine Liu <shinel@foxmail.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c