OSDN Git Service

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)
commit820eeb9de62f1f479c04fc6575d874611b1e2095
treea4e995e23df8dafedb6d5cfd1d4e38b74112346b
parent6f8280cec1c9dfcd69c98e124ae6e0b61115158b
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: 67b27dbeac4d ("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