]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: dwc2: Get host DMA device properties
authorJohn Youn <johnyoun@synopsys.com>
Fri, 4 Nov 2016 00:56:12 +0000 (17:56 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:13 +0000 (13:54 +0200)
commit6b66ce51e212da3efe293a99541d850708b65ed3
treeff931b4fd60a5a6adee3256ed1e0a3ddcecaac54
parente7839f99b7dab1d161e39391855788ef2bbfb106
usb: dwc2: Get host DMA device properties

The driver will automatically enable host DMA and use it if available.
This is consistent with the behavior of all existing platforms.

Read in the "snps,host-dma-disable" device property to disable it.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/params.c