All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186
@ 2013-01-05  4:06 Mauro Carvalho Chehab
  2013-01-05  9:39 ` Patrice Chotard
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2013-01-05  4:06 UTC (permalink / raw)
  Cc: Mauro Carvalho Chehab, Linux Media Mailing List, Patrice Chotard,
	Antti Palosaari

The above commit were applied only partially; it broke tuner and
demod attach, but the part that added it to ngene_info was missing.

Not sure what happened there, but, without this patch, a regression
would be happening.

Also, gcc complains about a defined but not used symbol.

So, apply manually the missing part.

Cc: Patrice Chotard <patricechotard@free.fr>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/media/pci/ngene/ngene-cards.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c
index 2a4895b..82318d1 100644
--- a/drivers/media/pci/ngene/ngene-cards.c
+++ b/drivers/media/pci/ngene/ngene-cards.c
@@ -732,6 +732,7 @@ static struct ngene_info ngene_info_terratec = {
 	.name           = "Terratec Integra/Cinergy2400i Dual DVB-T",
 	.io_type        = {NGENE_IO_TSIN, NGENE_IO_TSIN},
 	.demod_attach   = {demod_attach_drxd, demod_attach_drxd},
+	.tuner_attach	= {tuner_attach_dtt7520x, tuner_attach_dtt7520x},
 	.fe_config      = {&fe_terratec_dvbt_0, &fe_terratec_dvbt_1},
 	.i2c_access     = 1,
 };
-- 
1.7.11.7


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

* Re: [PATCH] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186
  2013-01-05  4:06 [PATCH] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186 Mauro Carvalho Chehab
@ 2013-01-05  9:39 ` Patrice Chotard
  2013-01-05 13:30   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Patrice Chotard @ 2013-01-05  9:39 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Linux Media Mailing List, Patrice Chotard, Antti Palosaari

Hi Mauro,

Yes, i confirm that without this patch, tuner_attach_dtt7520x() callback
was never called, so no tuning was possible.

Patrice

Le 05/01/2013 05:06, Mauro Carvalho Chehab a écrit :
> The above commit were applied only partially; it broke tuner and
> demod attach, but the part that added it to ngene_info was missing.
> 
> Not sure what happened there, but, without this patch, a regression
> would be happening.
> 
> Also, gcc complains about a defined but not used symbol.
> 
> So, apply manually the missing part.
> 
> Cc: Patrice Chotard <patricechotard@free.fr>
> Cc: Antti Palosaari <crope@iki.fi>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
> ---
>  drivers/media/pci/ngene/ngene-cards.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c
> index 2a4895b..82318d1 100644
> --- a/drivers/media/pci/ngene/ngene-cards.c
> +++ b/drivers/media/pci/ngene/ngene-cards.c
> @@ -732,6 +732,7 @@ static struct ngene_info ngene_info_terratec = {
>  	.name           = "Terratec Integra/Cinergy2400i Dual DVB-T",
>  	.io_type        = {NGENE_IO_TSIN, NGENE_IO_TSIN},
>  	.demod_attach   = {demod_attach_drxd, demod_attach_drxd},
> +	.tuner_attach	= {tuner_attach_dtt7520x, tuner_attach_dtt7520x},
>  	.fe_config      = {&fe_terratec_dvbt_0, &fe_terratec_dvbt_1},
>  	.i2c_access     = 1,
>  };
> 

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

* Re: [PATCH] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186
  2013-01-05  9:39 ` Patrice Chotard
@ 2013-01-05 13:30   ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2013-01-05 13:30 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: Linux Media Mailing List, Patrice Chotard, Antti Palosaari

Em Sat, 05 Jan 2013 10:39:21 +0100
Patrice Chotard <patrice.chotard@sfr.fr> escreveu:

> Hi Mauro,
> 
> Yes, i confirm that without this patch, tuner_attach_dtt7520x() callback
> was never called, so no tuning was possible.

Thanks for double-checking. Not sure why the original patch got truncated.
Maybe due to some bad conflict solving, or maybe patchwork mangled the
original patch. That sometimes happen when one hunk description has more
than 80-cols and the email got word-wrapped.

Regards,
Mauro

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

end of thread, other threads:[~2013-01-05 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-05  4:06 [PATCH] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186 Mauro Carvalho Chehab
2013-01-05  9:39 ` Patrice Chotard
2013-01-05 13:30   ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.