Skip to content
Commit 4df614c4 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I
Browse files

phy: core: Invoke pm_runtime_get_*/pm_runtime_put_* before invoking reset callback



PHY drivers may try to access PHY registers in the ->reset() callback.
Invoke phy_pm_runtime_get_sync() before invoking the ->reset() callback
so that the PHY drivers don't have to enable clocks by themselves before
accessing PHY registers.

Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent fec06b2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment