We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4591abe commit 6200ec8Copy full SHA for 6200ec8
1 file changed
drivers/dma/apple-admac.c
@@ -252,7 +252,7 @@ static struct dma_async_tx_descriptor *admac_prep_dma_cyclic(
252
size_t period_len, enum dma_transfer_direction direction,
253
unsigned long flags)
254
{
255
- struct admac_chan *adchan = container_of(chan, struct admac_chan, chan);
+ struct admac_chan *adchan = to_admac_chan(chan);
256
struct admac_tx *adtx;
257
258
if (direction != admac_chan_direction(adchan->no))
0 commit comments