Hi Fu, > +err_free: > + mutex_destroy(&stm->io_lock); > + i2c_set_clientdata(client, NULL); Please drop the clientdata line; the core clears the pointer now. Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature