[i2c] [PATCH V6] I2C driver for IMX

Darius augulis.darius at gmail.com
Thu Jun 12 14:16:27 CEST 2008


>> +static struct platform_driver i2c_imx_driver = {
>> +	.probe	= i2c_imx_probe,
>> +	.remove	= i2c_imx_remove,
>> +	.driver	= {
>> +		.name	= DRIVER_NAME,
>> +		.owner	= THIS_MODULE,
>> +	}
>> +};
> 
> No suspend/resume support? See above note on ordering.
> 

There are nothing to do in suspend/resume routines, because no possibility to turn off I2C clock.
I2C module itself is disabled every time when data is not transmited.
Seems, that there are only few I2C drivers (at91, blackfin, pnx) with suspend/resume suport.
Most drivers has not suspend/resume support.
Should I declare empty suspend/resume routines with return 0; only?



More information about the i2c mailing list