projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c19387
)
dwc_otg: Declare DMA capability with HCD_DMA flag
author
Phil Elwell
<phil@raspberrypi.org>
Fri, 15 Nov 2019 08:48:08 +0000
(08:48 +0000)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:09 +0000
(16:33 +0100)
Following [1], USB controllers have to declare DMA capabilities in
order for them to be used by adding the HCD_DMA flag to their hc_driver
struct.
[1]
7b81cb6bddd2
("usb: add a HCD_DMA flag instead of guestimating DMA capabilities")
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
index
9a150d6
..
70cce7a
100644
(file)
--- a/
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
+++ b/
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c
@@
-138,7
+138,7
@@
static struct hc_driver dwc_otg_hc_driver = {
.irq = dwc_otg_hcd_irq,
- .flags = HCD_MEMORY | HCD_USB2,
+ .flags = HCD_MEMORY | HCD_
DMA | HCD_
USB2,
//.reset =
.start = hcd_start,