Skip to content

Commit 6200ec8

Browse files
povikjannau
authored andcommitted
fixup! dmaengine: apple-admac: Add Apple ADMAC driver
1 parent 4591abe commit 6200ec8

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
@@ -252,7 +252,7 @@ static struct dma_async_tx_descriptor *admac_prep_dma_cyclic(
252252
size_t period_len, enum dma_transfer_direction direction,
253253
unsigned long flags)
254254
{
255-
struct admac_chan *adchan = container_of(chan, struct admac_chan, chan);
255+
struct admac_chan *adchan = to_admac_chan(chan);
256256
struct admac_tx *adtx;
257257

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

0 commit comments

Comments
 (0)