Skip to content
Commit 40989679 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda: cs35l41: Fix the loop check in cs35l41_add_dsd_properties



model->hid is a pointer, and should be rather NULL-checked in the loop
of cs35l41_prop_model_table.

Fixes: ef4ba63f ("ALSA: hda: cs35l41: Support systems with missing _DSD properties")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308160506.8lCEeFDG-lkp@intel.com/
Link: https://lore.kernel.org/r/20230816063525.23009-1-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ef4ba63f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment