Re: [PATCH v3 6/7] USB: EHCI: make ehci-msm a separate driver

From: Arnd Bergmann
Date: Sat Mar 30 2013 - 08:49:32 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/