aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2011-01-10 22:49:22 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-22 21:49:24 -0500
commitca9cfea09fc5802074f79d086547c6363ddc894b (patch)
tree2f7efabdb50682043d7b236d9a0740c982a47593 /fs/fs_struct.c
parent49d3df53a80deed2251b91f50ae9e1c5caf7ded7 (diff)
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 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions