ARM: davinci: Make the usb20 clock available to PM runtime
Subsystems (3)
PATCH v3 1/1 ARM: davinci: Make the usb20 clock available to PM runtime
Since USB20 subsystem uses just one clock, there is no need of a con_id, so we are using NULL.
Signed-off-by Alexandre Bailon <[email protected]>
Suggested-by Sekhar Nori <[email protected]>
--- arch/arm/mach-davinci/da830.c | 2 +- arch/arm/mach-davinci/da850.c | 2 +- arch/arm/mach-davinci/usb-da8xx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-davinci/da830.c +1 -1
@@ -412,7 +412,7 @@ static struct clk_lookup da830_clks[] = {CLK ("davinci-mcasp.0" ,NULL , &mcasp0_clk),CLK ("davinci-mcasp.1" ,NULL , &mcasp1_clk),CLK ("davinci-mcasp.2" ,NULL , &mcasp2_clk), -CLK ("musb-da8xx" ,"usb20" , &usb20_clk), +CLK ("musb-da8xx" ,NULL , &usb20_clk),CLK (NULL ,"aemif" , &aemif_clk),CLK (NULL ,"aintc" , &aintc_clk), CLK(NULL, "secu_mgr", &secu_mgr_clk),
arch/arm/mach-davinci/da850.c +1 -1
@@ -559,7 +559,7 @@ static struct clk_lookup da850_clks[] = {CLK ("ti-aemif" ,NULL , &aemif_clk),CLK ("davinci-nand.0" ,"aemif" , &aemif_nand_clk),CLK ("ohci-da8xx" ,"usb11" , &usb11_clk), -CLK ("musb-da8xx" ,"usb20" , &usb20_clk), +CLK ("musb-da8xx" ,NULL , &usb20_clk),CLK ("spi_davinci.0" ,NULL , &spi0_clk),CLK ("spi_davinci.1" ,NULL , &spi1_clk), CLK("vpif", NULL, &vpif_clk),
arch/arm/mach-davinci/usb-da8xx.c +1 -1
@@ -275,7 +275,7 @@ int __init da8xx_register_usb20_phy_clk(bool use_usb_refclkin)struct clk *parent;int ret; - usb20_clk =clk_get (&da8xx_usb20_dev.dev,"usb20" ); + usb20_clk =clk_get (&da8xx_usb20_dev.dev,NULL ); ret =PTR_ERR_OR_ZERO (usb20_clk);if (ret)return ret;
Signature · 1 line
2.10.2