Re: Re: [PATCH] [v2] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe

2021-04-14 Thread dinghao . liu
> Hi Dinghao, > On Mon, Apr 12, 2021 at 03:31:54PM +0800, Dinghao Liu wrote: > > There is a PM usage counter decrement after zynqmp_qspi_init_hw() > > without any refcount increment, which leads to refcount leak.Add > > a refcount increment to balance the refcount. Also set > > auto_runtime_pm to r

Re: [PATCH] [v2] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe

2021-04-14 Thread wqyoung
Hi Dinghao, On Mon, Apr 12, 2021 at 03:31:54PM +0800, Dinghao Liu wrote: > There is a PM usage counter decrement after zynqmp_qspi_init_hw() > without any refcount increment, which leads to refcount leak.Add > a refcount increment to balance the refcount. Also set > auto_runtime_pm to resume suspen