Re: [PATCH v2] ALSA: hda: Use readl() to read PPCTL register
From: Takashi Iwai
Date: Sun Dec 06 2026 - 06:04:57 EST
On Sun, 06 Dec 2026 11:35:49 +0100,
Sreeraj S Kurup wrote:
>
> The PPCTL register is a 32-bit register, but
> snd_hdac_ext_stream_decouple_locked() currently uses readw()
> to read it.
>
> This reads only the lower 16 bits of the register. As a
> result, PROCEN bits above bit 15 cannot be detected, causing
> the function to incorrectly determine the stream decoupling
> state on hardware that implements these bits.
>
> Use readl() instead of readw() to read the full 32-bit
> PPCTL register. This allows the function to correctly check
> all implemented PROCEN bits across supported hardware
> generations.
>
> Fixes: 09a8bf812c66 ("ALSA: hda: check stream decoupled register state")
> Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@xxxxxxxxx>
Applied to for-next branch.
thanks,
Takashi