[linux-dvb] [PATCH] make the registers of the stv0297 visible for other applications (e.g. i2cdump)

e9hack e9hack at googlemail.com
Fri May 18 15:22:05 CEST 2007


the stv0297 doesn't understand the repeated start condition on the i2c-bus from a saa7146. The current frontend driver
(stv0297.c) handles this problem by splitting the read request into a write and a read request. Other applications (e.g.
i2cdump) are not able to read the registers from the stv0297. The attached patch lets solve the saa7146 this problem. If
it is necessary, the driver inserts an additional stop condition and moves the following start condition into the next
upload command for the saa7146.

- Hartmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saa7146_i2c_no_rep_start.patch
Type: text/x-patch
Size: 7808 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070518/3f824b3a/saa7146_i2c_no_rep_start.bin

More information about the linux-dvb mailing list