ALSA: hda/senarytech: add senarytech codec support
A message that is not in the archive (sent off-list or not yet received): [email protected]
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.
Signed-off-by bo liu <[email protected]>
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