Re: I2C node in device tree breaks old-style drivers

2008-07-30 Thread Timur Tabi
On Wed, Jul 30, 2008 at 5:54 AM, Jochen Friedrich <[EMAIL PROTECTED]> wrote: > Hi Timur, > >> So my conclusion is that specifying an I2C node in the device tree *requires* >> that the driver be new-style. Is there any way we can fix this? I'm not >> going >> to have time to update the CS4270 dri

Re: I2C node in device tree breaks old-style drivers

2008-07-30 Thread Jochen Friedrich
Hi Timur, > So my conclusion is that specifying an I2C node in the device tree *requires* > that the driver be new-style. Is there any way we can fix this? I'm not > going > to have time to update the CS4270 driver to a new-style interface before the > 2.6.27 window closes. This conclusion is

I2C node in device tree breaks old-style drivers

2008-07-29 Thread Timur Tabi
I'm trying to debug an I2C problem I've found in my old-style driver: sound/soc/codecs/cs4270.c. My I2C probe function is working, but the I2C subsystem cannot find my device. I know it's there, because U-Boot can probe it just fine. At first, I thought my problem was this: static struct i2c_dr