All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] em28xx: Don't call em28xx_ir_init when disable_ir is true
@ 2009-08-21  2:49 Shine Liu
  2009-08-21  3:03 ` Devin Heitmueller
  0 siblings, 1 reply; 2+ messages in thread
From: Shine Liu @ 2009-08-21  2:49 UTC (permalink / raw)
  To: linux-media; +Cc: dheitmueller

I think we should call em28xx_ir_init(dev) when disable_ir is true.
Following patch will fix the bug. 

Cheers,

Shine



Signed-off-by: Shine Liu <shinel@foxmail.com>
-----------------------------------------------------


--- a/drivers/media/video/em28xx/em28xx-cards.c	2009-08-14 06:43:34.000000000 +0800
+++ a/drivers/media/video/em28xx/em28xx-cards.c	2009-08-21 10:39:23.000000000 +0800
@@ -2367,7 +2367,9 @@
 	}
 
 	em28xx_tuner_setup(dev);
-	em28xx_ir_init(dev);
+
+	if(!disable_ir)
+		em28xx_ir_init(dev);
 }
 
 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-21  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21  2:49 [PATCH] em28xx: Don't call em28xx_ir_init when disable_ir is true Shine Liu
2009-08-21  3:03 ` Devin Heitmueller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.