diff options
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2011-01-11 09:19:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-22 18:49:24 -0800 |
commit | ca9cfea09fc5802074f79d086547c6363ddc894b (patch) | |
tree | 2f7efabdb50682043d7b236d9a0740c982a47593 /block | |
parent | 49d3df53a80deed2251b91f50ae9e1c5caf7ded7 (diff) | |
download | linux-3.10-ca9cfea09fc5802074f79d086547c6363ddc894b.tar.gz linux-3.10-ca9cfea09fc5802074f79d086547c6363ddc894b.tar.bz2 linux-3.10-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 'block')
0 files changed, 0 insertions, 0 deletions