]> git.baikalelectronics.ru Git - kernel.git/commit
USB: omap_udc: fix rejection of out transfers when DMA is used
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 24 Nov 2018 22:17:08 +0000 (00:17 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 10:38:03 +0000 (12:38 +0200)
commit644a168059dd4a60f6fd56fd6f537b25188347c3
treefab9ab625d4350614b2ba0ac74d4832f28b76a27
parente660bc3b20125e4eb365d8b91928715195acbc90
USB: omap_udc: fix rejection of out transfers when DMA is used

Commit 37b77dc8b446 ("usb: gadget: u_ether: conditionally align
transfer size") started aligning transfer size only if requested,
breaking omap_udc DMA mode. Set quirk_ep_out_aligned_size to restore
the old behaviour.

Fixes: 37b77dc8b446 ("usb: gadget: u_ether: conditionally align transfer size")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/omap_udc.c