keep tvaudio driver away from saa7146
PATCH 1/1 keep tvaudio driver away from saa7146
Hi all,
the attached patch keeps the tvaudio i2c helper module away from any saa7146 based framegrabber. All saa7146 drivers have their dedicated i2c helper modules and don't work together with tvaudio, so keep it away alltogether. This will make mixed-card configurations work.
The patch was discussed and ack'ed by Gerd Knorr.
Please apply.
Thanks
Michael.
- [V4L] don't attach tvaudio module on saa7146 i2c busses
Signed-off-by Michael Hunold <[email protected]>
Acked-by Gerd Knorr <[email protected]>
drivers/media/video/tvaudio.c +4 -0
@@ -1497,6 +1497,10 @@static int chip_probe (struct i2c_adapter *adap) { +/* don't attach on saa7146 based cards, +because dedicated drivers are used */ +if ((adap->id &I2C_ALGO_SAA7146 )) +return 0 ;#ifdef I2C_CLASS_TV_ANALOG if (adap->class &I2C_CLASS_TV_ANALOG )return i2c_probe (adap, &addr_data, chip_attach);