RE: Re: [PATCH v1] ASoC: tas2781: Optimize calibration to avoid full device reboot after calibration

"Ding, Shenghao" <[email protected]> Fri, 31 Jul 2026 00:34:33 +0000
Newsgroups org.kernel.vger.linux-sound
Message-ID <[email protected]>
Hi Brown

> On Fri, Jul 24, 2026 at 06:25:43PM +0800, Shenghao Ding wrote:
> > Some clients have specified a new requirement: complete device
> > restarts should be avoided after calibration. Only a hot boot of the
> > Smart Audio Amplifier is required.
> 
> > +	/*
> > +	 * Set reloading-firmware flag after calibration, the flag will work
> > +	 * during next playback, then set to the program id after reloading
> > +	 * firmware.
> > +	 */
> > +	for (i = 0; i < priv->ndev; i++)
> > +		priv->tasdevice[i].cur_prog = -1;
> > +
> 
> I'll apply this since this is preexisting, but it might be worth checking the
> interaction with DAPM delayed powerdown (or indeed active streams).
> There's an element of user error here of course.

Thank you very much for your valuable feedback. I will forward all your comments 
directly to our customer side for full visibility.