• Perry Gilfillan's avatar
    [PATCH] I2C: i2c-voodoo3.c needs I2C_ADAP_CLASS_TV_ANALOG · 1d82470c
    Perry Gilfillan authored
    The Voodoo3 i2c bus has either a bt869 tv-out chip, or also a tv tuner,
    decoder and msp3400.  Without I2C_ADAP_CLASS_TV_ANALOG, the i2c clients
    would have to do a strcmp of the adapter name to distiguish between the
    i2c and ddc adapters.  Yes, they should be able to tell if the chip at a
    given address is what they are looking for, but in the case of the v3tv
    module, which is the v4l device, in the 2.4 kerenl I've got it set to
    create a dummy client, and the strcmp is the only way to distinguish the
    i2c from the ddc.  In the 2.6 kernel, class can be defined, simplifying
    things for the v3tv module.
    1d82470c
i2c-voodoo3.c 6.28 KB