Re: Issue with i2c-designware-platdrv's suspend/runtime-suspend handling

2017-01-31 Thread Jarkko Nikula
On 01/31/2017 12:05 AM, John Stultz wrote: On Tue, Jan 24, 2017 at 2:03 PM, John Stultz wrote: Doing some further debugging, it seems the problem is that the device is being runtime suspended, and then at suspend time, we're calling the same logic, calling i2c_dw_plat_prepare_clk, which causes

Re: Issue with i2c-designware-platdrv's suspend/runtime-suspend handling

2017-01-30 Thread John Stultz
On Tue, Jan 24, 2017 at 2:03 PM, John Stultz wrote: > I noticed that with my hikey board, on resume from suspend I'm getting > the following WARNING: > > [ 54.334054] [ cut here ] > [ 54.334077] WARNING: CPU: 0 PID: 2217 at drivers/clk/clk.c:594 > clk_core_disable+0x20/