From: Christoph Hellwig Date: Tue, 3 Sep 2019 08:46:11 +0000 (+0200) Subject: usb/ohci-tmio: remove the HCD_DMA flag X-Git-Tag: v5.4-rc1~136^2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8838d9224f84cbe04979edb005365af236d39410;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20190903084615.19161-3-hch@lst.de Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index 221593d755561..fb6f5e9ae5c62 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,