diff options
author | Vahram Aharonyan <vahrama@synopsys.com> | 2016-11-09 19:27:46 -0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-18 13:54:18 +0200 |
commit | aa4049f3a58ce8cf889ce89300b996f373e3b3a4 (patch) | |
tree | b7dd73df47341426fa0380e993dec4c2179b406d /drivers/usb/dwc2 | |
parent | ec7032512829a0b09f3e4324f29ff789d74e514b (diff) |
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>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r-- | drivers/usb/dwc2/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h index 6031efed1155..ee827e8a2a94 100644 --- 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) |