projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec70325
)
usb: dwc2: Make the DMA descriptor structure packed
author
Vahram Aharonyan
<vahrama@synopsys.com>
Thu, 10 Nov 2016 03:27:46 +0000
(19:27 -0800)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:18 +0000
(13:54 +0200)
Make the DMA descriptor structure packed to guarantee alignment and size
in memory.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hw.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/hw.h
b/drivers/usb/dwc2/hw.h
index 6031efed11553ef988c56cb20d616182268ad05a..ee827e8a2a940465e800bcb0724587eb152280f9 100644
(file)
--- a/
drivers/usb/dwc2/hw.h
+++ b/
drivers/usb/dwc2/hw.h
@@
-802,7
+802,7
@@
struct dwc2_dma_desc {
u32 status;
u32 buf;
-};
+}
__packed
;
#define HOST_DMA_A (1 << 31)
#define HOST_DMA_STS_MASK (0x3 << 28)