diff options
| author | Kishon Vijay Abraham I <kishon@ti.com> | 2019-04-05 16:38:31 +0530 |
|---|---|---|
| committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-04-17 14:13:17 +0530 |
| commit | 4df614c4ab18ba14892dfa82b88c28203096e951 (patch) | |
| tree | 0e175c63d915ed522897f962e1dda97cc932c67d /net/lapb/lapb_subr.c | |
| parent | fec06b2bc436d1cbc3482becd40f656d46cd22b7 (diff) | |
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: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
