Commit f03e6bb3 authored by Sasha Finkelstein's avatar Sasha Finkelstein Committed by Greg Kroah-Hartman
Browse files

dmaengine: apple-admac: Avoid accessing registers in probe



commit 8d55e8a1 upstream.

The ADMAC attached to the AOP has complex power sequencing, and is
power gated when the probe callback runs. Move the register reads
to other functions, where we can guarantee that the hardware is
switched on.

Fixes: 568aa6dd ("dmaengine: apple-admac: Allocate cache SRAM to channels")
Signed-off-by: default avatarSasha Finkelstein <fnkl.kernel@gmail.com>
Link: https://lore.kernel.org/r/20241124-admac-power-v1-1-58f2165a4d55@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2610aba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment