[PATCH v2 4/4] ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe

Mark Brown broonie at kernel.org
Mon Oct 3 10:37:29 PDT 2022


On Thu, Sep 29, 2022 at 11:06:53PM +0800, Zhang Qilong wrote:
> The pm_runtime_enable will increase power disable depth. Thus
> a pairing decrement is needed on the error handling path to
> keep it balanced according to context. We fix it by calling
> pm_runtime_disable when error returns.

This doesn't apply against current code, please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20221003/69c6379e/attachment.sig>


More information about the Linux-mediatek mailing list