mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
stf_dphy_probe() enables runtime PM before registering the PHY provider.
If devm_of_phy_provider_register() fails, probe returns with runtime PM
still enabled.
The driver also has no remove callback, so runtime PM is left enabled
on driver unbind after a successful probe.
Use devm_pm_runtime_enable() so runtime PM is disabled automatically
on later probe failures and on driver unbind.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| phy-jh7110-dphy-rx.c | ||
| phy-jh7110-dphy-tx.c | ||
| phy-jh7110-pcie.c | ||
| phy-jh7110-usb.c | ||