]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qualcomm: usb-hs-28nm: Prepare clocks in init
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 8 Apr 2020 01:28:54 +0000 (18:28 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 30 Apr 2020 06:40:49 +0000 (12:10 +0530)
commit9560d475760b6130b1dd55e35766387cb52d4beb
treea4e995e23df8dafedb6d5cfd1d4e38b74112346b
parent7560d1dca33267321eddd651c06231b8512b1e4f
phy: qualcomm: usb-hs-28nm: Prepare clocks in init

The AHB clock must be on for qcom_snps_hsphy_init() to be able to write
the initialization sequence to the hardware, so move the clock
enablement to phy init and exit.

Fixes: 61772dba8576 ("phy: qualcomm: Add Synopsys 28nm Hi-Speed USB PHY driver")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-usb-hs-28nm.c