]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
usb: dwc2: fixes host_dma logic
authorChristian Lamparter <chunkeey@googlemail.com>
Tue, 15 Nov 2016 12:11:55 +0000 (14:11 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:50 +0000 (13:54 +0200)
commit4be0080c18fb41a95ab47ba7caff8359582457f9
treeaf10731e1f8fdcd6a8ed8feb7e79bafac542bc65
parent38e9002b85672352f8693c82192c8029586dd86d
usb: dwc2: fixes host_dma logic

This patch moves the the host_dma initialization
before dwc2_set_param_dma_desc_enable() and
dwc2_set_param_dma_desc_fs_enable(). The reason being
that both function need it.

Fixes: 1205489cee75bf39 ("usb: dwc2: Get host DMA device properties")
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/params.c