]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: keystone: Cleanup PHY handling
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:41:04 +0000 (13:11 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:46:15 +0000 (09:46 +0100)
commit1452a00457690d3ff28df33038da16763423f628
tree70a341f0fc41fbe5402543535a96a2ded502e2a9
parent66b4a5ff4e17377e6c7d3c46a2bad411c3235d0f
PCI: keystone: Cleanup PHY handling

Cleanup PHY handling by using devm_phy_optional_get() to get PHYs if
the PHYs are optional, creating a device link between the PHY device
and the controller device and disable PHY on error cases here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c