mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
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: 7b81cb6bdd
("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>
This commit is contained in:
parent
7a81146204
commit
a1747eb43f
@ -49,7 +49,7 @@ static const struct hc_driver ohci_sm501_hc_driver = {
|
|||||||
* generic hardware linkage
|
* generic hardware linkage
|
||||||
*/
|
*/
|
||||||
.irq = ohci_irq,
|
.irq = ohci_irq,
|
||||||
.flags = HCD_USB11 | HCD_DMA | HCD_MEMORY,
|
.flags = HCD_USB11 | HCD_MEMORY,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* basic lifecycle operations
|
* basic lifecycle operations
|
||||||
|
Loading…
Reference in New Issue
Block a user