[PATCH] ALSA: aoa: onyx: Update IEC958 sample-rate status for PCM playback
Takashi Iwai
tiwai at suse.de
Mon Apr 6 18:41:36 AEST 2026
On Fri, 03 Apr 2026 05:47:13 +0200,
Cássio Gabriel wrote:
>
> onyx_prepare() accepts 32/44.1/48 kHz PCM playback, but it leaves the
> Onyx IEC958 sample-rate status bits at the driver's initial 44.1 kHz
> setting in DIG_INFO3. As a result, 32 kHz and 48 kHz PCM streams
> advertise a stale IEC958 sample rate unless userspace rewrites IEC958
> Playback Default first.
>
> Update only the consumer sample-frequency bits in DIG_INFO3 from the PCM
> runtime during prepare, resolving the long-standing FIXME in the PCM
> playback path while leaving the other user-controlled IEC958 status bits
> unchanged.
>
> Mark IEC958 Playback Default as volatile as well, since prepare() now
> changes the exposed register contents outside the control put callback.
>
> Signed-off-by: Cássio Gabriel <cassiogabrielcontato at gmail.com>
Applied now to for-next branch. Thanks.
Takashi
More information about the Linuxppc-dev
mailing list