Skip to content

Commit bec348b

Browse files
committed
dmaengine: sdxi: descriptor: Fix sync encoding
"no tests yet" instantly bites me. Signed-off-by: Nathan Lynch <nathan.lynch@amd.com>
1 parent 0a27d18 commit bec348b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dma/sdxi/descriptor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ int sdxi_encode_sync(struct sdxi_desc *desc, const struct sdxi_sync *params)
190190

191191
*desc = (typeof(*desc)) {
192192
.sync = (typeof(desc->sync)) {
193+
.opcode = cpu_to_le32(opcode),
193194
.cflags = cflags,
194195
.cxt_start = cpu_to_le16(params->range.cxt_start),
195196
.cxt_end = cpu_to_le16(params->range.cxt_end),

0 commit comments

Comments
 (0)