Skip to content

Commit b92bddb

Browse files
povikjannau
authored andcommitted
fixup! dmaengine: apple-admac: Add Apple ADMAC driver
1 parent 41a58e0 commit b92bddb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/dma/apple-admac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static struct dma_async_tx_descriptor *admac_prep_dma_cyclic(
254254
size_t period_len, enum dma_transfer_direction direction,
255255
unsigned long flags)
256256
{
257-
struct admac_chan *adchan = container_of(chan, struct admac_chan, chan);
257+
struct admac_chan *adchan = to_admac_chan(chan);
258258
struct admac_tx *adtx;
259259

260260
if (direction != admac_chan_direction(adchan->no))

0 commit comments

Comments
 (0)