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

Kevin Hilman khilman at kernel.org
Wed Nov 22 15:42:56 PST 2023


Théo Lebrun <theo.lebrun at bootlin.com> 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



More information about the linux-arm-kernel mailing list