[linux-dvb] 2.6.20 -> saa i2c messages

Udo van den Heuvel udovdh at xs4all.nl
Fri Feb 16 17:59:58 CET 2007


Udo van den Heuvel wrote:
> Also undoing the patch that Hartmut suggested made things work again:
> 
> a/drivers/media/dvb/ttpci/budget-av.c +++
> a/drivers/media/dvb/ttpci/budget-av.c
> @@ -1277,7 +1293,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
> static struct saa7146_extension budget_extension = {
> .name = "budget_av",
> - .flags = SAA7146_I2C_SHORT_DELAY,
> + .flags = SAA7146_USE_I2C_IRQ,
> 
> 
> So now that we know the cause, how can we debug the situation?

I did performs Oliver's request:

> > a/drivers/media/dvb/ttpci/budget-av.c +++
> > a/drivers/media/dvb/ttpci/budget-av.c
> > @@ -1277,7 +1293,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
> > static struct saa7146_extension budget_extension = {
> > .name = "budget_av",
> > - .flags = SAA7146_I2C_SHORT_DELAY,
> > + .flags = SAA7146_USE_I2C_IRQ,
>
> Please test:
> Take the original 2.6.20 driver and change the line above.
> No other modifications. Does the card still work?

With this change undone the kernel boots OK.
I also have some saa7146_debug output with this change. Please let me
know if this output is interesting enough.

Udo



More information about the linux-dvb mailing list