Re: [PATCH] ALSA: cs8427: read the PCM stream IEC958 status from its own buffer
From: Takashi Iwai
Date: Wed Nov 04 2026 - 09:48:36 EST
On Wed, 04 Nov 2026 09:33:04 +0100,
raoxu wrote:
>
> From: Xu Rao <raoxu@xxxxxxxxxxxxx>
>
> The IEC958 Playback PCM Stream control writes pcm_status, but its
> get callback always returns def_status. As a result, userspace
> reads back the default status instead of the PCM stream status after
> writing the stream control. Rate changes also update pcm_status
> without being reflected in the value returned by the control.
>
> Select the status buffer using the same private_value as the put
> callback. The default control continues to return def_status,
> while the PCM stream control now returns its own current status.
>
> Signed-off-by: Xu Rao <raoxu@xxxxxxxxxxxxx>
Applied to for-next branch now, as this is no urgent fix.
thanks,
Takashi