[PATCH v3 6/7] USB: EHCI: make ehci-msm a separate driver
Arnd Bergmann
arnd at arndb.de
Sat Mar 30 08:49:09 EDT 2013
On Friday 29 March 2013, Alan Stern wrote:
> On Thu, 28 Mar 2013, Arnd Bergmann wrote:
> This patch is good. However the ehci-msm driver itself is not. While
> checking through the code, I was struck by the fact that it never calls
> usb_add_hcd() or usb_remove_hcd(). Obviously the driver cannot work
> properly.
>
> In addition, it stores the PHY pointer in a global variable.
> (ehci-atmel does much the same thing for its clocks.) This means the
> driver cannot be used on a system having more than one EHCI controller.
> Maybe this doesn't matter, though.
>
> Maybe somebody would like to fix and test it...
I'm not too surprised. The driver was added the last time that the MSM
maintainers started a serious attempt to get a lot of their code mainlined,
a little over two years ago. While there is some activity from Qualcomm
in specific areas of the code every now and then, they literally have
thousands of patches on top of the kernel that they use in actual
products and I would not expect a mainline kernel to actually work on
any recent Qualcomm hardware.
Arnd
More information about the linux-arm-kernel
mailing list