[PATCH v8 2/3] ARM: shmobile: r8a7778: add USB support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Jun 4 01:45:06 EDT 2013


Hi

> > The ohci/ehci resource will be  used vainly if platform doesn't have USB
> 
>     The platform device resources are never used vainly. And remember 
> that if PHY doesn't get registered, OHCI/EHCI won't get probed 
> successfully either -- mind the usb_power_on() platform method.

?
Could you please teach me who/how/when free resource memory
which was kmemdup'ed by platform_device_add_xxx()
(and kmalloc'ed dma_mask) on platform_device_register_full() ??

>> ohci/ehci and phy should be registered in same time/function.
>
>    I just copied your approach from the R8A7779 code.

Ahh, yes, indeed


Best regards
---
Kuninori Morimoto



More information about the linux-arm-kernel mailing list