From: Martin Samuelsson <sam@home.se>
To: "Andrew Morton" <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org,
"Ronald S. Bultje" <rbultje@ronald.bitfreak.net>
Subject: saa7111.c patch
Date: Sun, 19 Mar 2006 11:41:24 +0100 [thread overview]
Message-ID: <20060319114124.11d4fa9d.sam@home.se> (raw)
[-- 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;
next reply other threads:[~2006-03-19 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-19 10:41 Martin Samuelsson [this message]
2006-03-19 17:52 ` Ronald S. Bultje
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060319114124.11d4fa9d.sam@home.se \
--to=sam@home.se \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rbultje@ronald.bitfreak.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®