aboutsummaryrefslogtreecommitdiff
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-12-20 14:14:40 +0200
committerMoyster <oysterized@gmail.com>2017-06-17 15:48:55 +0200
commit81c2fa06be4f9d68a7836f71b47747221603f5e5 (patch)
treed2d86c7ceb135c760488a84c1421e35f12475619 /kernel/srcu.c
parent01c689516a113028c9375397e57a79a5a6dbb127 (diff)
usb: dwc3: gadget: always unmap EP0 requests
commit d62145929992f331fdde924d5963ab49588ccc7d upstream. commit 0416e494ce7d ("usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced") introduced a bug where we would leak DMA resources which would cause us to starve the system of them resulting in failing DMA transfers. Fix the bug by making sure that we always unmap EP0 requests since those are *always* mapped. Fixes: 0416e494ce7d ("usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced") Tested-by: Tomasz Medrek <tomaszx.medrek@intel.com> Reported-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions