dmaengine: apple-admac: Trigger shared reset
authorMartin Povišer <povik+lin@cutebit.org>
Sun, 18 Sep 2022 09:58:45 +0000 (11:58 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 29 Sep 2022 16:13:25 +0000 (21:43 +0530)
commit6aed75d7ccb3288029287c50fc594a4314698be0
treea3995573d1d6a090b9972d1d4e4ec4501ad53efa
parent072431595a57bc6605c29724afce5f9ef8114915
dmaengine: apple-admac: Trigger shared reset

If a reset domain is attached to the device, obtain a shared reference
to it and trigger it. Typically on a chip the ADMAC controller will
share a reset domain with the MCA peripheral.

Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220918095845.68860-5-povik+lin@cutebit.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/apple-admac.c