Re: [PATCH v2 2/7] usb: cdns3-ti: remove runtime PM

From: Kevin Hilman
Date: Wed Nov 22 2023 - 18:43:09 EST


Théo Lebrun <theo.lebrun@xxxxxxxxxxx> writes:

> The driver does not use RPM. It enables it & gets a reference at probe.
> It then undoes that on probe error or at remove.

...which is a fairly standard thing to do for a rudimentary runtime PM
support on platforms that use power domains.

This will likely (almost surely) break other platforms.

Without a runtime PM get call, the power domain that this device is in
could be powered off without this driver ever knowing about it, causing
a crash as soon as the driver is used after the domain is turned off.

Kevin