summaryrefslogtreecommitdiff
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-10 11:13:26 +0300
committerSasha Levin <alexander.levin@verizon.com>2016-08-31 19:21:09 -0400
commita694f3fa30adc8be36d7e2f8e4911a3fe705adf2 (patch)
tree6a3a0a250a5b50b90dde3823b6fe6b4c2e9dcbc3 /fs/pipe.c
parent60b8bcfd6a911071c8eb7de6bb9c1afc964385f1 (diff)
usb: dwc3: gadget: fix for short pkts during chained xfers
[ Upstream commit e5b36ae2f851024d43c76e51f395d32ce8d769ce ] DWC3 has one interesting peculiarity with chained transfers. If we setup N chained transfers and we get a short packet before processing all N TRBs, DWC3 will (conditionally) issue a XferComplete or XferInProgress event and retire all TRBs from the one which got a short packet to the last without clearing their HWO bits. This means SW must clear HWO bit manually, which this patch is doing. Cc: <stable@vger.kernel.org> Cc: Brian E Rogers <brian.e.rogers@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions