Re: [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver Endriss wrote:
> Hi,
>
> Thanks to Hartmut, I2C transfers of the saa7146 may now use interrupt
> mode. It will be enabled for av7110, budget, budget-ci and budget-av
> drivers. This might reduce cpu load and speed-up tuning.
>   
The Cinergy 1200 DVB-C card needs a second patch. The frontend is
accessed to fast after power-on/enable. The non interrupt mode starts a
retry after an address error. This gives the frontend the time for
power-on. The interrupt mode trusts the error logic of the SAA7146 and
doesn't use retries.

- Hartmut



Signed-off-by: Hartmut Birr <e9hack@xxxxxxxxxxxxxx>

- Added a delay to give the frontend a little bit time for power-on.

diff -r 55496629964b linux/drivers/media/dvb/ttpci/budget-av.c
--- a/linux/drivers/media/dvb/ttpci/budget-av.c	Wed Nov 01 17:09:51 2006 +0100
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c	Fri Nov 03 17:55:16 2006 +0100
@@ -946,6 +946,9 @@ static void frontend_init(struct budget_
 
 	/* Enable / PowerON Frontend */
 	saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
+	
+	/* Wait for PowerON */
+	msleep(10);
 
 	/* additional setup necessary for the PLUS cards */
 	switch (saa->pci->subsystem_device) {
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux