Re: [PATCH V4] ALSA: hda/senarytech: add senarytech codec support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 17 Jun 2024 03:46:34 +0200,
bo liu wrote:
> 
> 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 <bo.liu@xxxxxxxxxxxxxx>

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




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux