Re: [PATCH v4 1/2] counter: ti-eqep: Fix runtime PM leak on probe failure
From: Bui Duc Phuc
Date: Tue Nov 10 2026 - 06:43:48 EST
Hi Andy,
> I'm confused. Why the PM runtime is used (and announced) in this driver at all?
> Do we have upper layer (like a bus driver) disable power before handing over to
> the device driver?
>
> TL;DR: what's the point in runtime PM here?
>
This patch does not change the runtime PM design. It only fixes the handling of
the existing runtime PM state and usage reference, ensuring they are properly
released on probe failures and driver removal.
If there are concerns about whether runtime PM is needed at all, that can be
investigated and addressed separately without mixing it with this cleanup fix.
Best regards,
Phuc