Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa4049f3 authored by Vahram Aharonyan's avatar Vahram Aharonyan Committed by Felipe Balbi
Browse files

usb: dwc2: Make the DMA descriptor structure packed



Make the DMA descriptor structure packed to guarantee alignment and size
in memory.

Signed-off-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent ec703251
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)