mirror of
https://github.com/torvalds/linux.git
synced 2026-10-15 20:30:02 +02:00
msm_hdmi_phy_probe() enables runtime PM before enabling the PHY
resources and initializing the PLL, but failures from either operation
return without calling the matching pm_runtime_disable().
The remove path disables runtime PM, but it is not called when probe
fails. As a result, runtime PM remains enabled after an unsuccessful
probe.
Route failures after pm_runtime_enable() through a common error path
and disable runtime PM before returning.
This issue was found by manual code inspection.
Fixes:
|
||
|---|---|---|
| .. | ||
| hdmi_audio.c | ||
| hdmi_bridge.c | ||
| hdmi_hdcp.c | ||
| hdmi_hpd.c | ||
| hdmi_i2c.c | ||
| hdmi_phy_8x60.c | ||
| hdmi_phy_8x74.c | ||
| hdmi_phy_8960.c | ||
| hdmi_phy_8996.c | ||
| hdmi_phy_8998.c | ||
| hdmi_phy.c | ||
| hdmi_pll_8960.c | ||
| hdmi.c | ||
| hdmi.h | ||