Re: [PATCH] spi: imx: fix the unbalanced spi runtime pm management

2020-11-24 Thread Mark Brown
On Tue, 24 Nov 2020 16:52:47 +0800, Clark Wang wrote: > If set active without increase the usage count of pm, the dont use > autosuspend function will call the suspend callback to close the two > clocks of spi because the usage count is reduced to -1. > This will cause the warning dump below when t

[PATCH] spi: imx: fix the unbalanced spi runtime pm management

2020-11-24 Thread Clark Wang
If set active without increase the usage count of pm, the dont use autosuspend function will call the suspend callback to close the two clocks of spi because the usage count is reduced to -1. This will cause the warning dump below when the defer-probe occurs. [ 129.379701] ecspi2_root_clk already