summary refs log tree commit diff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-03 10:46:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-03 15:26:05 +0200
commit8838d9224f84cbe04979edb005365af236d39410 (patch)
treed0817476d947ae9fdb6c6c0f5001917b6ef42c19 /drivers/usb/host
parenta1747eb43f3546038dad8cb0c4fec5416b83ec59 (diff)
downloadlinux-8838d9224f84cbe04979edb005365af236d39410.tar.gz
usb/ohci-tmio: remove the HCD_DMA flag
This driver doesn't support normal DMA, only direct access to its
local memory.  Remove the HCD_DMA flag to properly express that fact.

Fixes: 7b81cb6bddd2 ("usb: add a HCD_DMA flag instead of guestimating DMA capabilities")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20190903084615.19161-3-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ohci-tmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c
index 221593d75556..fb6f5e9ae5c6 100644
--- a/drivers/usb/host/ohci-tmio.c
+++ b/drivers/usb/host/ohci-tmio.c
@@ -156,7 +156,7 @@ static const struct hc_driver ohci_tmio_hc_driver = {
 
 	/* generic hardware linkage */
 	.irq =			ohci_irq,
-	.flags =		HCD_USB11 | HCD_DMA | HCD_MEMORY,
+	.flags =		HCD_USB11 | HCD_MEMORY,
 
 	/* basic lifecycle operations */
 	.start =		ohci_tmio_start,