From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: "Alfredo Jesús Delaiti" <alfredodelaiti@netscape.net>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] Mygica X8507 audio for YPbPr, AV and S-Video
Date: Tue, 18 Sep 2012 13:16:18 -0300 [thread overview]
Message-ID: <50589E52.5050602@redhat.com> (raw)
In-Reply-To: <50450FB5.3090503@netscape.net>
Em 03-09-2012 17:14, Alfredo Jesús Delaiti escreveu:
> Hi
>
> This patch add audio support for input YPbPr, AV and S-Video for Mygica X8507 card.
> I tried it with the 3.4 and 3.5 kernel
>
> Remains to be done: IR, FM and ISDBT
>
> Sorry if I sent the patch improperly.
>
> Signed-off-by: Alfredo J. Delaiti <alfredodelaiti@netscape.net>
>
>
>
> diff --git a/media/video/cx23885/cx23885-cards.c b/media/video/cx23885/cx23885-cards.c
> index 080e111..17e2576 100644
> --- a/media/video/cx23885/cx23885-cards.c
> +++ b/media/video/cx23885/cx23885-cards.c
Wrong format... the "drivers/" is missing.
Well, the location also changed to drivers/media/pci, but my scripts can
fix it.
> @@ -541,11 +541,13 @@ struct cx23885_board cx23885_boards[] = {
> {
> .type = CX23885_VMUX_COMPOSITE1,
> .vmux = CX25840_COMPOSITE8,
> + .amux = CX25840_AUDIO7,
Didn't apply well. It seems it conflicted with some other patch.
Please, re-generate it against the very latest tree.
Also, when doing diffs for the boards entries, it is wise to have
more context lines, in order that a patch made for one driver would
be badly applied at some other board entry.
The easiest way to do that is to do:
$ git diff -U10
or
$ git show -U10
(if you've merged the patch at your local copy)
(if you're generating the patch against the main media-tree.git)
Where "10" is just an arbitrary large number that will allow to
see the board name that will be modified, like:
--- a/drivers/media/pci/cx23885/cx23885-cards.c
+++ b/drivers/media/pci/cx23885/cx23885-cards.c
@@ -531,20 +531,21 @@ struct cx23885_board cx23885_boards[] = {
.name = "Mygica X8507",
.tuner_type = TUNER_XC5000,
.tuner_addr = 0x61,
.tuner_bus = 1,
.porta = CX23885_ANALOG_VIDEO,
.input = {
{
.type = CX23885_VMUX_TELEVISION,
.vmux = CX25840_COMPOSITE2,
.amux = CX25840_AUDIO8,
+ /* Some foo addition - just for testing */
},
{
.type = CX23885_VMUX_COMPOSITE1,
.vmux = CX25840_COMPOSITE8,
},
{
.type = CX23885_VMUX_SVIDEO,
.vmux = CX25840_SVIDEO_LUMA3 |
CX25840_SVIDEO_CHROMA4,
},
Thanks,
Mauro
next prev parent reply other threads:[~2012-09-18 16:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 20:14 [PATCH] Mygica X8507 audio for YPbPr, AV and S-Video Alfredo Jesús Delaiti
2012-09-18 16:16 ` Mauro Carvalho Chehab [this message]
2012-09-19 13:31 ` Alfredo Jesús Delaiti
2012-09-19 16:28 ` Mauro Carvalho Chehab
2012-09-21 14:33 ` Alfredo Jesús Delaiti
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=50589E52.5050602@redhat.com \
--to=mchehab@redhat.com \
--cc=alfredodelaiti@netscape.net \
--cc=linux-media@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).