kernel: fix usb chipidea controller support
authorFelix Fietkau <nbd@nbd.name>
Tue, 7 Mar 2017 08:50:42 +0000 (09:50 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Mar 2017 10:37:50 +0000 (11:37 +0100)
commitf2516e53c1678faa9a23d27aadf2c2d8c3370a51
tree502e47939b9b72d270c490c78bfbbfb16a4bdf22
parent2422f84b1bef034e5eb4bf2da5adeb82659b8d49
kernel: fix usb chipidea controller support

If ehci platform driver is loaded before the chipidea controller driver,
both are competing for the same IO resources and the generic driver gets
used for the hardware. This results in USB device mode being
unavailable.
Split generic EHCI support code out of kmod-usb2, so that the chipidea
driver can be included without also pulling in the generic one. Also
rework the load order, so that the chipidea driver gets loaded first, in
case both are installed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/linux/modules/usb.mk