public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: hermann pitton <hermann-pitton@arcor.de>,
	LMML <linux-media@vger.kernel.org>, Daro <ghost-rider@aster.pl>,
	Roman Kellner <muzungu@gmx.net>
Subject: Re: [PATCH] saa7134: Fix IR support of some ASUS TV-FM 7135  variants
Date: Tue, 02 Feb 2010 17:09:05 -0200	[thread overview]
Message-ID: <4B687851.3050706@redhat.com> (raw)
In-Reply-To: <20100130115632.03da7e1b@hyperion.delvare>

Hi Jean,

> From: Jean Delvare <khali@linux-fr.org>
> Subject: saa7134: Fix IR support of some ASUS TV-FM 7135 variants
> 
> Some variants of the ASUS TV-FM 7135 are handled as the ASUSTeK P7131
> Analog (card=146). However, by the time we find out, some
> card-specific initialization is missed. In particular, the fact that
> the IR is GPIO-based. Set it when we change the card type, and run
> saa7134_input_init1().
> 
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Daro <ghost-rider@aster.pl>
> Cc: Roman Kellner <muzungu@gmx.net>
> ---
>  linux/drivers/media/video/saa7134/saa7134-cards.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> --- v4l-dvb.orig/linux/drivers/media/video/saa7134/saa7134-cards.c	2010-01-30 10:56:50.000000000 +0100
> +++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c	2010-01-30 11:52:18.000000000 +0100
> @@ -7299,6 +7299,11 @@ int saa7134_board_init2(struct saa7134_d
>  		       printk(KERN_INFO "%s: P7131 analog only, using "
>  						       "entry of %s\n",
>  		       dev->name, saa7134_boards[dev->board].name);
> +
> +			/* IR init has already happened for other cards, so
> +			 * we have to catch up. */
> +			dev->has_remote = SAA7134_REMOTE_GPIO;
> +			saa7134_input_init1(dev);
>  	       }
>  	       break;
>  	case SAA7134_BOARD_HAUPPAUGE_HVR1150:

This version of your patch makes sense to me. 

This logic will only apply for board SAA7134_BOARD_ASUSTeK_P7131_ANALOG, 
so, provided that someone with this board test it, I'm OK with it.

Had Roman or Daro already test it?

-- 

Cheers,
Mauro

  parent reply	other threads:[~2010-02-02 19:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27 11:02 [PATCH] saa7134: Fix IR support of some ASUS TV-FM 7135 variants Jean Delvare
2010-01-29 15:40 ` Mauro Carvalho Chehab
2010-01-30  0:47   ` hermann pitton
2010-01-30 10:56     ` Jean Delvare
2010-02-01  1:16       ` hermann pitton
2010-02-01  9:56         ` Jean Delvare
2010-02-02  1:47           ` hermann pitton
2010-02-02  7:54             ` Jean Delvare
2010-02-02 11:50               ` Mauro Carvalho Chehab
2010-02-10 18:09                 ` Jean Delvare
2010-02-10 18:40                   ` Mauro Carvalho Chehab
2010-02-10 19:36                     ` Jean Delvare
2010-02-11  0:58                       ` hermann pitton
2010-02-15  5:31                         ` hermann pitton
2010-02-20  3:07                           ` hermann pitton
2010-02-25 13:12                             ` Jean Delvare
2010-02-25 21:50                               ` hermann pitton
2010-02-02 23:32               ` hermann pitton
2010-02-10 16:38                 ` Daro
2010-02-10 17:00                   ` Jean Delvare
2010-02-02 19:09       ` Mauro Carvalho Chehab [this message]
2010-02-10 17:01         ` Jean Delvare
     [not found] <E1Nl2po-000877-Di@services.gcu-squad.org>
2010-03-12  9:38 ` Jean Delvare
2010-03-14  2:38   ` Daro
2010-03-14  5:08     ` hermann pitton
2010-03-14  8:26     ` Jean Delvare
2010-03-14 19:34       ` Daro
2010-03-14 20:48         ` Jean Delvare

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=4B687851.3050706@redhat.com \
    --to=mchehab@redhat.com \
    --cc=ghost-rider@aster.pl \
    --cc=hermann-pitton@arcor.de \
    --cc=khali@linux-fr.org \
    --cc=linux-media@vger.kernel.org \
    --cc=muzungu@gmx.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