summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorVincent Pelletier <plr.vincent@gmail.com>2017-01-09 13:46:00 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-12 10:00:30 +0200
commit08f37148b6a915a6996c7dbef87769b9efee2dba (patch)
tree7779671975d52ece5ebda1f48a9bc4a7b2e408e4 /Documentation
parent9383e084a88d04d442ea2dce128edff05f344e5c (diff)
usb: gadget: f_fs: Fix iterations on endpoints.
When zero endpoints are declared for a function, there is no endpoint to disable, enable or free, so replace do...while loops with while loops. Change pre-decrement to post-decrement to iterate the same number of times when there are endpoints to process. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions