diff options
author | Christoph Hellwig <hch@lst.de> | 2019-09-03 10:46:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-03 15:25:52 +0200 |
commit | a1747eb43f3546038dad8cb0c4fec5416b83ec59 (patch) | |
tree | 241ce3beb1415d986042bd836f601f75607df4e5 /drivers/usb | |
parent | 7a81146204859c6f8d8daf3ab7a25af17dfecd5f (diff) | |
download | linux-a1747eb43f3546038dad8cb0c4fec5416b83ec59.tar.gz linux-a1747eb43f3546038dad8cb0c4fec5416b83ec59.tar.bz2 linux-a1747eb43f3546038dad8cb0c4fec5416b83ec59.zip |
usb/ohci-sm501: 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")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190903084615.19161-2-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-sm501.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-sm501.c b/drivers/usb/host/ohci-sm501.c index 0b2aea6e28d4..c158cda9e4b9 100644 --- a/drivers/usb/host/ohci-sm501.c +++ b/drivers/usb/host/ohci-sm501.c @@ -49,7 +49,7 @@ static const struct hc_driver ohci_sm501_hc_driver = { * generic hardware linkage */ .irq = ohci_irq, - .flags = HCD_USB11 | HCD_DMA | HCD_MEMORY, + .flags = HCD_USB11 | HCD_MEMORY, /* * basic lifecycle operations |