mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* saa7111.c patch
@ 2006-03-19 10:41 Martin Samuelsson
  2006-03-19 17:52 ` Ronald S. Bultje
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Samuelsson @ 2006-03-19 10:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Ronald S. Bultje

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

Hello.

When grabbing composite video with Iomega Buz, the stock driver will prevent grabbing from the same input twice in a row, forcing the user to switch inputs before anything useful can be grabbed again. It is caused by some optimization code in the input selection parts, and triggered by the saa7111_command() executing cmd 0. The attached patch will remedy this by disabling cmd 0 altogether; a fix that has no found negative effects on the rest of the code. In fact, saa7110.c does the exact same thing.

It would be nice to have this included in the kernel driver.

I'd appreciate being kept in the recipient list in case of discussion.

Regards,
/Sam


[-- Attachment #2: linux-2.6.15.6-buz.diff --]
[-- Type: application/octet-stream, Size: 301 bytes --]

--- linux-2.6.15.6/drivers/media/video/saa7111.c	2006-03-05 20:07:54.000000000 +0100
+++ linux-2.6.15.6-buz/drivers/media/video/saa7111.c	2006-03-19 02:18:27.000000000 +0100
@@ -210,6 +210,7 @@
 	switch (cmd) {
 
 	case 0:
+	  break;
 	case DECODER_INIT:
 	{
 		struct video_decoder_init *init = arg;

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

end of thread, other threads:[~2006-03-19 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-19 10:41 saa7111.c patch Martin Samuelsson
2006-03-19 17:52 ` Ronald S. Bultje

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®