Re: [PATCH] dmaengine: apple-admac: Avoid accessing registers in probe
From: Sasha Finkelstein
Date: Mon Dec 02 2024 - 13:39:53 EST
On Mon, 2 Dec 2024 at 17:27, Vinod Koul <vkoul@xxxxxxxxxx> 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().