On Thu, Oct 5, 2023 at 4:28 PM Zhang Shurong <zhang_shurong@xxxxxxxxxxx> 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. > > Signed-off-by: Zhang Shurong <zhang_shurong@xxxxxxxxxxx> Looks correct, Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij