Skip to contentSkip to conversation

msp3400 quick fix

PATCH New Gerd Knorr 1 participant 1 message Dec 7, 2004 Media (V4L/DVB)

lore
Share & tools
lore

Gerd Knorr

author
#0 lore raw

PATCH 1/1 msp3400 quick fix

The new "simpler" opmode added by the recent merge from ivtv breaks msp3400 support for other tv cards. Not figured yet why.

This patch disables the "simpler" mode by default (can still be enabled by insmod option) as quick fix for 2.6.10.

---
 drivers/media/video/msp3400.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)
drivers/media/video/msp3400.c +4 -1
diff -u linux-2.6.10/drivers/media/video/msp3400.c linux/drivers/media/video/msp3400.c
@@ -1503,9 +1503,12 @@
 
 	msp->opmode = opmode;
 	if (OPMODE_AUTO == msp->opmode) {
+#if 0 /* seems to work for ivtv only, disable by default for now ... */
 		if (HAVE_SIMPLER(msp))
 			msp->opmode = OPMODE_SIMPLER;
-		else if (HAVE_SIMPLE(msp))
+		else
+#endif
+		if (HAVE_SIMPLE(msp))
 			msp->opmode = OPMODE_SIMPLE;
 		else
 			msp->opmode = OPMODE_MANUAL;
Signature · 1 line
#define printk(args...) fprintf(stderr, ## args)