i2c/designware: enable i2c controller to suspend/resume asynchronously
Subsystems (3)
PATCH 1/1 i2c/designware: enable i2c controller to suspend/resume asynchronously
Enable i2c controller to suspend/resume asynchronously. This can improve system suspend/resume speed.
--- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/i2c/busses/i2c-designware-platdrv.c +1 -0
@@ -245,6 +245,7 @@ static int dw_i2c_probe(struct platform_device *pdev) adap = &dev->adapter;i2c_set_adapdata (adap, dev); +device_enable_async_suspend (&pdev->dev); adap->owner =THIS_MODULE ; adap->class =I2C_CLASS_DEPRECATED ; strlcpy(adap->name, "Synopsys DesignWare I2C adapter",
-- 1.7.1
Hi,
Any comments are welcome.
Thanks,
Zhonghui
Quoted 22 lines · Zhonghui
Enable i2c controller to suspend/resume asynchronously. This can improve system suspend/resume speed.
--- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/i2c/busses/i2c-designware-platdrv.c +1
-1@@ -245,6 +245,7 @@ static int dw_i2c_probe(struct platform_device *pdev) adap = &dev->adapter;i2c_set_adapdata (adap, dev); +device_enable_async_suspend (&pdev->dev); adap->owner =THIS_MODULE ; adap->class =I2C_CLASS_DEPRECATED ; strlcpy(adap->name, "Synopsys DesignWare I2C adapter", -- 1.7.1
Hi,
I have resent this patch with updated commit message - "[PATCH v2] i2c/designware: enable i2c controller to suspend/resume asynchronously".
Thanks,
Zhonghui
Quoted 33 lines · Zhonghui
Hi,
Any comments are welcome.
Thanks,
ZhonghuiQuoted 22 lines · Zhonghui
Enable i2c controller to suspend/resume asynchronously. This can improve system suspend/resume speed.
Signed-off-by Zhonghui Fu <[email protected]>--- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/i2c/busses/i2c-designware-platdrv.c +1
-1@@ -245,6 +245,7 @@ static int dw_i2c_probe(struct platform_device *pdev) adap = &dev->adapter;i2c_set_adapdata (adap, dev); +device_enable_async_suspend (&pdev->dev); adap->owner =THIS_MODULE ; adap->class =I2C_CLASS_DEPRECATED ; strlcpy(adap->name, "Synopsys DesignWare I2C adapter", -- 1.7.1