From mboxrd@z Thu Jan 1 00:00:00 1970 From: ulf.hansson@linaro.org (Ulf Hansson) Date: Tue, 14 Jun 2016 17:07:18 +0200 Subject: [PATCH 00/10] i2c: designware-platdrv: Some improvments related to PM Message-ID: <1465916848-8207-1-git-send-email-ulf.hansson@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Here's a couple changes for the i2c-designware driver. Most of them a related to the support for runtime PM and system PM, but there's also a few that improves some error handling. I have tested these on Hisilicon Linaro 96-board (hi6220). I used a couple local changes to enable the power-key to act as a wakeup in system PM suspend state. If anyone are interested about those as well, I am happy to share them. Ulf Hansson (10): i2c: designware-platdrv: Return error in ->probe() when clk ungate fails i2c: designware-platdrv: Gate clk in error path in ->probe() i2c: designware-platdrv: Unconditionally enable runtime PM i2c: designware-platdrv: Disable autosuspend in error path in ->probe() i2c: designware-platdrv: Fix clk gating in ->remove() i2c: designware-platdrv: Update runtime PM last busy mark in ->probe() i2c: designware-platdrv: Re-init the HW when resuming i2c: designware-platdrv: Check return value from clk_prepare_enable() i2c: designware-platdrv: Simplify code by using dev_get_drvdata() i2c: designware-platdrv: Rework system PM support drivers/i2c/busses/i2c-designware-platdrv.c | 106 +++++++++++++--------------- 1 file changed, 50 insertions(+), 56 deletions(-) -- 1.9.1