Re: [SIL2review] [PATCH] i2c: cadence: Fix PM device usage count

2018-02-26 Thread Nicholas Mc Guire
On Sat, Feb 24, 2018 at 11:42:38PM +0100, Tobias Jordan wrote: > pm_runtime_get_sync() increases the device's usage count even when > reporting an error, so add a call to pm_runtime_put_noidle() in the > error branch. > > Fixes: 7fa32329ca03 ("i2c: cadence: Move to sensible power management") > Si

[PATCH] i2c: cadence: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the error branch. Fixes: 7fa32329ca03 ("i2c: cadence: Move to sensible power management") Signed-off-by: Tobias Jordan --- This is one of a number of patches for prob