Skip to contentSkip to conversation

ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186

PATCH In review Mauro Carvalho Chehab 2 participants 3 messages Jan 5, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186

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 <[email protected]>
Cc Antti Palosaari <[email protected]>
---
 drivers/media/pci/ngene/ngene-cards.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/pci/ngene/ngene-cards.c +1 -0
index 2a4895b..82318d1 100644
@@ -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,
 };
Signature · 1 line
1.7.11.7
#1 lore raw

Hi Mauro,

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

Patrice

Quoted 30 lines · Mauro Carvalho Chehab

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 <[email protected]>
Cc Antti Palosaari <[email protected]>
---
 drivers/media/pci/ngene/ngene-cards.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/pci/ngene/ngene-cards.c +1 -0
index 2a4895b..82318d1 100644
@@ -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,
 };
#2 lore raw

Em Sat, 05 Jan 2013 10:39:21 +0100
Patrice Chotard <[email protected]> escreveu:

Quoted 4 lines

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