]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: net2280: unconditionally reset dma in usb_reset
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Sat, 16 May 2015 20:33:32 +0000 (22:33 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:39:56 +0000 (10:39 -0500)
commit3fc0a7c3d3539a4e57b249d1fb5b2ab80c075174
treed19ac9d8afa7bf34d875db8901a02cb64a4e7f41
parente6ac4bb0590d6482f48a86a10884a9f2eb66c111
usb: gadget: net2280: unconditionally reset dma in usb_reset

If ep->dma is set, abort_dma() takes care of dma clean-up. If ep->dma
is not set, unconditionally reset dma channel.

Tested-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c