|
@@ -242,7 +242,7 @@ struct at_xdmac_lld {
|
|
|
u32 mbr_dus; /* Destination Microblock Stride Register */
|
|
|
};
|
|
|
|
|
|
-
|
|
|
+/* 64-bit alignment needed to update CNDA and CUBC registers in an atomic way. */
|
|
|
struct at_xdmac_desc {
|
|
|
struct at_xdmac_lld lld;
|
|
|
enum dma_transfer_direction direction;
|
|
@@ -253,7 +253,7 @@ struct at_xdmac_desc {
|
|
|
unsigned int xfer_size;
|
|
|
struct list_head descs_list;
|
|
|
struct list_head xfer_node;
|
|
|
-};
|
|
|
+} __aligned(sizeof(u64));
|
|
|
|
|
|
static inline void __iomem *at_xdmac_chan_reg_base(struct at_xdmac *atxdmac, unsigned int chan_nb)
|
|
|
{
|