]> bbs.cooldavid.org Git - net-next-2.6.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)
commit0ff8d1b3c858ea7c8daa54f7577971a76d04d283
treee4ba112b93414b5f334d51ed1ec0a8e1f4e239f6
parent92a6e6b3280776b1341cd61b1d137ec34ab3f30b
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