提交 aa4049f3 编写于 作者: V Vahram Aharonyan 提交者: Felipe Balbi

usb: dwc2: Make the DMA descriptor structure packed

Make the DMA descriptor structure packed to guarantee alignment and size
in memory.
Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
上级 ec703251
...@@ -802,7 +802,7 @@ ...@@ -802,7 +802,7 @@
struct dwc2_dma_desc { struct dwc2_dma_desc {
u32 status; u32 status;
u32 buf; u32 buf;
}; } __packed;
#define HOST_DMA_A (1 << 31) #define HOST_DMA_A (1 << 31)
#define HOST_DMA_STS_MASK (0x3 << 28) #define HOST_DMA_STS_MASK (0x3 << 28)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册