]> git.baikalelectronics.ru Git - kernel.git/commit
USB: pxa27x_udc: use four bits to store endpoint addresses
authorMatt Reimer <mreimer@sdgsystems.com>
Thu, 1 Apr 2010 20:44:04 +0000 (13:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:36 +0000 (13:21 -0700)
commitda1b57d836bf5803968c54152a858ccd6d3edc23
treee4ba112b93414b5f334d51ed1ec0a8e1f4e239f6
parentac8f62d69fae79ff07c7674ea8162b6a8eee9f96
USB: pxa27x_udc: use four bits to store endpoint addresses

Endpoint addresses on pxa27x can be programmed as 1-15, but since
only three bits were being used to store the endpoint number it
was possible to overflow.

Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pxa27x_udc.h