]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
phy: core: Add consumer device link support
authorAlexandre Torgue <alexandre.torgue@st.com>
Mon, 4 Nov 2019 14:37:13 +0000 (15:37 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 8 Jan 2020 07:18:47 +0000 (12:48 +0530)
commit987351e1ea7772cf2f0795e917fb33b2e282e1c1
tree2a5fff9f6ba5160673294c4bb0421df7d874baeb
parent24dbe0aaa0030231d4d35886d3552121d208df69
phy: core: Add consumer device link support

In order to enforce suspend/resume ordering, this commit creates link
between phy consumers and phy devices. This link avoids to suspend phy
before phy consumers.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
[jonathanh@nvidia.com: Fix an abort when of_phy_get() returns error]
Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-core.c
drivers/usb/renesas_usbhs/rcar2.c
drivers/usb/renesas_usbhs/rza2.c
include/linux/phy/phy.h