[PATCH 3/3] Enable the interrupt mode for the i2c-transfer of the TT-C2300 DVB-C card

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

 



Hi,

the attached patch enables the interrupt mode for the i2c-transfer of the Technotrend TT-C2300 DVB-C card.

This patch needs both of my previous patches.

- Hartmut

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

Enable the interrupt-mode of the i2c-transfer for the TT-C2300 DVB-C card.

diff -r 5e9d301ef13b linux/drivers/media/dvb/ttpci/av7110.c
--- a/linux/drivers/media/dvb/ttpci/av7110.c	Thu Oct 26 10:10:56 2006 -0300
+++ b/linux/drivers/media/dvb/ttpci/av7110.c	Sat Oct 28 10:03:44 2006 +0200
@@ -2213,6 +2213,9 @@ static int frontend_init(struct av7110 *
 
 				/* tuner on this needs a slower i2c bus speed */
 				av7110->dev->i2c_bitrate = SAA7146_I2C_BUS_BIT_RATE_240;
+				
+				/* enable interrupt driven i2c transfer */
+				av7110->dev->ext->flags |= SAA7146_USE_I2C_IRQ;
 				break;
 			}
 			break;
_______________________________________________
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