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

Mark Brown <[email protected]>
Newsgroups org.alsa-project.alsa-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp++p4ACgkQJNaLcl1U
h9BcMQf/frCo29taAXlKsrKWybhTMJnAVlIvkd/yZZkKeFVsNxApt3Z7oi+/k+oT
1fCWuURmA2TWC9i3JQl/fqT6ARzc2Mdr5jFxfP3giiipDljfuttZcvsNv4l/dyY9
aXR7sZspdaGGBBY7kHdxUNwej5JnEf5U/zX26PvSp55G1pqArDt6wMv4mCCI/Ipt
JgIuclS7oOu6BzxdKBJt8GsubUY3AMGLfggHCxHeAu+/1FZ24HWWCNbM2pjarwm8
GH+ps+5nOVqhNVdXuOP3QdI6FsOsXhu3ydV/uS0TxZqoGiI8Jj/+NNIt4255lqq7
E/wEcvk7/8QWNfdoZ0QQJhwwjjwwfw==
=elVz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.