]> 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)
commitaf991d035462b73cfabd481e450b644bdd4b8d56
treea4e995e23df8dafedb6d5cfd1d4e38b74112346b
parent3b79b318fb3805dcc7c831824ae74e7abd253b01
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: e132d378d346 ("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