summaryrefslogtreecommitdiff
path: root/lib/cordic.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-12-20 12:14:40 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 10:39:22 (GMT)
commit5af6f56bb16ca7a90220f2757cbfa05e02d11976 (patch)
treedf8347bcab2cf90d7fe7d89d8991ad5a8bca710e /lib/cordic.c
parentc008309f53e57af31c4a7210b4e2c68b1412c899 (diff)
downloadlinux-5af6f56bb16ca7a90220f2757cbfa05e02d11976.tar.xz
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") Cc: <stable@vger.kernel.org> 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions