mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
usb: dwc2: Make the DMA descriptor structure packed
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>
This commit is contained in:
parent
ec70325128
commit
aa4049f3a5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue