]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ohci-at91: fix PIO handling in relation with number of ports
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 29 Aug 2012 09:49:18 +0000 (11:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 23:56:58 +0000 (16:56 -0700)
commitcb047af0c7d4586b339bee8212fbe88669fb7dea
tree94701be8449e68b5adcd5cfbb13fd60579f67319
parent22b3a4fb6e2a0c8897b595bb40cc361dadf5982f
USB: ohci-at91: fix PIO handling in relation with number of ports

If the number of ports present on the SoC/board is not the maximum
and that the platform data is not filled with all data, there is
an easy way to mess the PIO setup for this interface.
This quick fix addresses mis-configuration in USB host platform data
that is common in at91 boards since commit 1f53dda (USB: ohci-at91:
change maximum number of ports) that did not modified the associatd
board files.

Reported-by: Klaus Falkner <klaus.falkner@solectrix.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Stable <stable@vger.kernel.org> [3.4+]
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c