diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-10-07 19:53:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-19 16:19:21 +0400 |
commit | 679ee475a1c19243c8f50a5a76f6b7519b24c1a3 (patch) | |
tree | a1cee61ed77804e87b138621bc77f90cc24db11c /firmware/sb16/mulaw_main.csp.ihex | |
parent | 8114fabc94cc94e4eb50050a99f7ee5573fa37d9 (diff) | |
download | linux-679ee475a1c19243c8f50a5a76f6b7519b24c1a3.tar.xz |
usb: wusbcore: serialize access to the HWA data out endpoint
This patch serializes access to the HWA data transfer out (DTO)
endpoint. This prevents a situation where two transfer requests being
sent concurrently to separate downstream endpoints could interleave
their transfer request and transfer data packets causing data
corruption. The transfer processing code will now attempt to acquire
the DTO resource before sending a transfer to the HWA. If it cannot
acquire the resource, the RPIPE that the transfer is assigned to will
be placed on a waiting list. When the DTO resource is released, the
actor releasing the resource will serivce the RPIPEs that are waiting.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/sb16/mulaw_main.csp.ihex')
0 files changed, 0 insertions, 0 deletions