]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-qmp: Fix phy pipe clock name
authorVaradarajan Narayanan <varada@codeaurora.org>
Mon, 31 Jul 2017 06:34:13 +0000 (12:04 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Aug 2017 08:29:44 +0000 (13:59 +0530)
commit6bc748506c9233ac4c4e5f9f01f3206862326268
treefa8b6032450d4013e4833da82bf00521d345ec6a
parent1e5341e337cf48ade89203b8644ece9d4c60db27
phy: qcom-qmp: Fix phy pipe clock name

Presently, the phy pipe clock's name is assumed to be either
usb3_phy_pipe_clk_src or pcie_XX_pipe_clk_src (where XX is the
phy lane's number). However, this will not work if an SoC has
more than one instance of the phy. Hence, instead of assuming
the name of the clock, fetch it from the DT.

Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qmp.c