Re: ASoC: tas2783-sdw: port prepare never completes after S0i3, no audio and no error (AMD ACP7.0, ASUS ProArt PX13)
From: Holalu Yogendra, Niranjan
Date: Tue Jul 28 2026 - 03:32:11 EST
> On 19:39-20260727, Pierre-Louis Bossart wrote:
> Subject: Re: ASoC: tas2783-sdw: port prepare never completes after S0i3, no audio and no error (AMD ACP7.0, ASUS ProArt PX13)
>
> >On 7/27/26 11:33, Andrey Golovko wrote:
> > Questions
> > ---------
> > - Should TAS2783 declare simple_ch_prep_sm at all? The port evidently
> > does not prepare instantaneously, which is the premise of that
> > property; letting the core do its normal write-and-poll would at least
> > turn this into a visible error instead of silence.
> > - If the property is correct, should tas_port_prep() poll
> > DPn_PrepareStatus after writing DPn_PrepareCtrl, mirroring what the
> > core does?
We need to use the same BIOS between Windows and Linux, the BIOS sets the device as Simplified_CP_SM.
The device expects the DPn_PrepareCtrl bits to be set to be functional - but doesn't update DPn_PrepareStatus.
If the device is configured as generic CP_SM, the DPn_PrepareStatus bits will not be updated.
Hence we end up with port prepare fail errors even for normal scenario where it could produce audio.
So, the changes were added in the codec driver to explicitly write DPn_PrepareCtrl even in simplified CP_SM
and ignore the DPn_PrepareStatus.
Regards
Niranjan