Skip to contentSkip to conversation

ALSA: hda/senarytech: add senarytech codec support

PATCH Takashi Iwai 1 participant 1 message Jun 17, 2024 1 message not in the archive Sound

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · bo liu

Add initial Senarytech codec support for SN6186. Note that this hda patch relies on the configuration default registers to be set correctly (normally by BIOS/firmware) in order for it to set up pin widgets properly.

This resulted in a build error when CONFIG_WERROR=y:

sound/pci/hda/patch_senarytech.c: In function ‘senary_auto_init’:
sound/pci/hda/patch_senarytech.c:134:29: error: unused variable ‘spec’ [-Werror=unused-variable]
134 | struct senary_spec *spec = codec->spec;
| ^~~~
cc1: all warnings being treated as errors

It's senary_auto_init(). Could you fix and resubmit?

thanks,

Takashi