public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: "José David Moreno Juárez" <jose.david@morenojuarez.nom.es>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] cx88-dvb: Changed tuner associated with board Hauppauge HVR-4000 from TUNER_PHILIPS_FMD1216ME_MK3 to TUNER_PHILIPS_FMD1216MEX_MK3
Date: Mon, 25 Jan 2016 15:09:56 -0200	[thread overview]
Message-ID: <20160125150956.6d8650ff@recife.lan> (raw)
In-Reply-To: <2691391.45DzHjqa9H@sisifo>

Em Tue, 29 Dec 2015 17:26:41 +0100
José David Moreno Juárez  <jose.david@morenojuarez.nom.es> escreveu:

> The correct tuner for the board Hauppauge HVR-4000 seems to be FMD1216MEX MK3 
> instead of FMD1216ME MK3. The tuner is identified as such by tveeprom:
> 	Dec 28 23:01:15 [kernel] tveeprom 8-0050: tuner model is Philips 
> FMD1216MEX (idx 133, type 78)
> 
> This patch fixes a longstanding warning message issued by tuner-simple:
> 	Dec 28 23:01:15 [kernel] tuner-simple 8-0061: couldn't set type to 63. 
> Using 78 (Philips FMD1216MEX MK3 Hybrid Tuner) instead
> 
> It has been successfully tested against kernel 4.1.12.
> 
> 
> 
> Signed-off-by: José David Moreno Juárez <jose.david@morenojuarez.nom.es>
> ---
>  drivers/media/pci/cx88/cx88-dvb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/pci/cx88/cx88-dvb.c b/drivers/media/pci/cx88/cx88-
> dvb.c
> index afb2075..ac2ad00 100644
> --- a/drivers/media/pci/cx88/cx88-dvb.c
> +++ b/drivers/media/pci/cx88/cx88-dvb.c
> @@ -1474,7 +1474,7 @@ static int dvb_register(struct cx8802_dev *dev)
>  			if (!dvb_attach(simple_tuner_attach,
>  					fe1->dvb.frontend,
>  					&dev->core->i2c_adap,
> -					0x61, TUNER_PHILIPS_FMD1216ME_MK3))
> +					0x61, TUNER_PHILIPS_FMD1216MEX_MK3))

This will likely break for other Hauppauge devices that use the other
tuner model. The best would be, instead, to use the value returned
by tveeprom here, instead of hardcoding it.


>  				goto frontend_detach;
>  		}
>  		break;

      reply	other threads:[~2016-01-25 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-29 16:26 [PATCH] [media] cx88-dvb: Changed tuner associated with board Hauppauge HVR-4000 from TUNER_PHILIPS_FMD1216ME_MK3 to TUNER_PHILIPS_FMD1216MEX_MK3 José David Moreno Juárez
2016-01-25 17:09 ` Mauro Carvalho Chehab [this message]

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=20160125150956.6d8650ff@recife.lan \
    --to=mchehab@osg.samsung.com \
    --cc=jose.david@morenojuarez.nom.es \
    --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