OSDN Git Service

phy: usb: Get all drivers that use USB clks using correct enable/disable
authorAl Cooper <alcooperx@gmail.com>
Fri, 3 Jan 2020 18:18:00 +0000 (13:18 -0500)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 8 Jan 2020 07:28:06 +0000 (12:58 +0530)
commitece5ffd9e15e9c8471e58b581a098032a679d34e
tree2381fb59d9860256df38843329d92af50c10fcdb
parentdc9aa43c43668481089c48135707ec3f8f5b2e19
phy: usb: Get all drivers that use USB clks using correct enable/disable

The BRCM USB Phy, ohci, ehci and xhci drivers all use the USB clocks
but not all drivers use the clk_prepare_enable/clk_disable_unprepare
versions to enable/disable the clocks. This change gets all drivers
using the prepare version.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-brcm-usb.c