diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2014-02-28 15:31:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-28 19:13:09 -0500 |
commit | e500d526f968f184462912334b74b80dc905fca0 (patch) | |
tree | fc66037ff090415b02c5074edaa22de002bc2384 /drivers/usb/wusbcore/wa-rpipe.c | |
parent | 5da43afc2b73795e82c4bc3e53a4a177a02637d0 (diff) |
usb: wusbcore: add a convenience function for completing a transfer segment
This patch adds a convenience function for the commonly performed task
of marking a transfer segment as done. It combines the 3 steps of
setting the segment status, incrementing the segs_done field of the
transfer and checking if the completed segment results in the transfer
also being done.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/wusbcore/wa-rpipe.c')
0 files changed, 0 insertions, 0 deletions