dmaengine: apple-admac: Fix grabbing of channels in of_xlate
authorMartin Povišer <povik+lin@cutebit.org>
Wed, 19 Oct 2022 13:23:23 +0000 (15:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 8 Nov 2022 05:13:56 +0000 (10:43 +0530)
commit8454f880c24bca0d9d4bfb6ed4a4a5429a4d9b20
tree13325e37bd05b7592d43f5c5e09149fc9efac6ff
parent0b8c97a1d8c1bb6a853b8bb1778e8fef17b86fc9
dmaengine: apple-admac: Fix grabbing of channels in of_xlate

The of_xlate callback is supposed to return the channel after already
having 'grabbed' it for private use, so fill that in.

Fixes: b127315d9a78 ("dmaengine: apple-admac: Add Apple ADMAC driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20221019132324.8585-1-povik+lin@cutebit.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/apple-admac.c