Re: [PATCH v2] ALSA: hda/realtek: add missing NULL check for codec->bus->pci

From: Takashi Iwai

Date: Thu Jul 30 2026 - 05:46:12 EST


On Thu, 30 Jul 2026 03:53:02 +0200,
songxiebing wrote:
>
> From: Bob Song <songxiebing@xxxxxxxxxx>
>
> In alc269_probe(), codec->bus->pci is dereferenced without a NULL check
> for the ALC236 vendor ID case. Add the missing check, consistent with
> the existing pattern used elsewhere in the same function.
>
> Signed-off-by: Bob Song <songxiebing@xxxxxxxxxx>
> ---
> v2:
> - Separate processing of return values from reading COEF and
> null pointer detection for device.

Applied to for-next branch now. Thanks.


Takashi