Re: Re: [PATCH v2] ASoC: tas2783-sdw: add firmware download status check

From: Mark Brown

Date: Fri Aug 14 2026 - 07:24:16 EST


On Fri, Aug 14, 2026 at 03:45:20AM +0000, Xu, Baojun wrote:

> > What happens if the amplifier uses power (eg, over a system suspend)?
> > Though since nothing clears first_hw_init I guess there might be issues
> > there anyway...

> Yes, that is the purpose of this patch. It prevents the re-downloading of
> pages above 0xC60000 after resuming from suspend, as the data in this region
> persists across an AMP reset. Therefore, these pages should only be downloaded
> during the initial power-up (when first_hw_init is false).

That's only going to be the case if the suspend is a retention one that
maintains power to the device. If the suspend is a deep one that cuts
power to the device then I can't see how it'll keep memory contents.

Attachment: signature.asc
Description: PGP signature