aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2011-01-11 09:19:22 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-22 18:49:24 -0800
commitca9cfea09fc5802074f79d086547c6363ddc894b (patch)
tree2f7efabdb50682043d7b236d9a0740c982a47593 /include
parentUSB: gadget: Fix error path in ci13xxx_udc gadget probe function (diff)
downloadlinux-dev-ca9cfea09fc5802074f79d086547c6363ddc894b.tar.xz
linux-dev-ca9cfea09fc5802074f79d086547c6363ddc894b.zip
USB: gadget: Fix endpoint representation in ci13xxx_udc
Fix a bug where only half the number of endpoints supported by the hardware are exposed to gadget. If DEN filed in the DCCPARAMS register has 'N' then 'N' IN endpoints and 'N" OUT endpoints can be supported. But only 'N' bidirectional endpoints are added to the gadget ep_list. This patch also ensures that the data and handshake transactions of previous setup packet are flushed upon a new setup packet arrival on ep0. Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions