[PATCH] dmaengine: apple-admac: Avoid accessing registers in probe

Sasha Finkelstein fnkl.kernel at gmail.com
Mon Dec 2 08:36:28 PST 2024


On Mon, 2 Dec 2024 at 17:27, Vinod Koul <vkoul at kernel.org> wrote:
> So looking at the driver, there is code to turn power, so what ensures
> that power is up while we are in alloc callback

There are two devices that use admacs, mca, and aop, with aop
only having a downstream driver for now. Aop's admac is controlled
by aop firmware, which does the power switching. Naturally, that firmware
has it's own idea of how power is supposed to be managed, so we can't
sequence it in such a way that the relevant admac has power when we
are running probe().



More information about the linux-arm-kernel mailing list