Hello.

I wrote:
DA8xx OHCI driver fails to load due to failing clk_get() call for the USB 2.0
clock. Arrange matching USB 2.0 clock by the clock name instead of the device.
(Adding another CLK() entry for "ohci.0" device won't do -- in the future I'll
also have to enable USB 2.0 clock to configure CPPI 4.1 module, in which case
I won't have any device at all.)

This was actually a part of CPPI 4.1 platform init. patch, but I've just realized it's necessary for OHCI too. Didn't notice it before. :-/

Signed-off-by: Sergei Shtylyov <[email protected]>

---
The patch is against the recent DaVinci tree.

  Kevin, could we squeeze it into 2.6.34?

 arch/arm/mach-davinci/da830.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-davinci/arch/arm/mach-davinci/da830.c
===================================================================
--- linux-davinci.orig/arch/arm/mach-davinci/da830.c
+++ linux-davinci/arch/arm/mach-davinci/da830.c
@@ -411,7 +411,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_hdrc",      NULL,           &usb20_clk),
+       CLK(NULL,               "usb20",      &usb20_clk),
        CLK(NULL,               "aemif",      &aemif_clk),
        CLK(NULL,               "aintc",      &aintc_clk),
        CLK(NULL,               "secu_mgr",   &secu_mgr_clk),

WBR, Sergei

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to