Re: I2c driver crash

2011-09-22 Thread MohanReddy koppula
I think the client->adapter pointer is NULL. Make sure the ds75_attach_adapte() is called before you invoke ioctl(). -Mohan On Fri, Sep 23, 2011 at 6:58 AM, Benjamin Herrenschmidt wrote: > On Thu, 2011-09-22 at 15:25 +, smitha.va...@wipro.com wrote: >> Hi Scott, >> >> When I call if  i2c_mas

Re: I2c driver crash

2011-09-22 Thread Benjamin Herrenschmidt
On Thu, 2011-09-22 at 15:25 +, smitha.va...@wipro.com wrote: > Hi Scott, > > When I call if i2c_master_send(&ds75->i2c_client,buffer,2) it > crashes. In module initialization I don't see any errors. Below are > kernel messages. Could you please let me know what may be the reason > for this cr

I2c driver crash

2011-09-22 Thread smitha.vanga
Hi Scott, When I call if i2c_master_send(&ds75->i2c_client,buffer,2) it crashes. In module initialization I don't see any errors. Below are kernel messages. Could you please let me know what may be the reason for this crash. ---Logs- Loading Temperature Sensor Interface module