]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: mxc: gadget: Fix bitfield for calculating maximum packet size
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Tue, 4 May 2010 15:03:01 +0000 (10:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:06 +0000 (11:22 -0700)
commitd297f82e22644b815cedf064c126d542381989e8
treea3e1708a76a4495450e18c9014503781b94c7b2c
parentab5dda490c458da086369498f2cabf7f84102ab7
USB: mxc: gadget: Fix bitfield for calculating maximum packet size

commit 88e3b59b5adce5b12e205af0e34d518ba0dcdc0c upstream.

The max packet length bit mask used for isochronous endpoints
should be 0x7FF instead of 0x8FF. 0x8FF will actually clear
higher-order bits in the max packet length field.

This patch applies to 2.6.34-rc6.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_udc_core.c