]> git.itanic.dy.fi Git - linux-stable/commit
ALSA: hda/sigmatel: Fix unused variable warning for beep power change
authorTakashi Iwai <tiwai@suse.de>
Mon, 5 Sep 2022 13:06:30 +0000 (15:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Sep 2022 13:07:07 +0000 (15:07 +0200)
commit51bdc8bb82525cd70feb92279c8b7660ad7948dd
treee2aaf1d4495c18c854f7c6a28f52174a0dba0acd
parent8423f0b6d513b259fdab9c9bf4aaa6188d054c2d
ALSA: hda/sigmatel: Fix unused variable warning for beep power change

The newly added stac_check_power_status() caused a compile warning
when CONFIG_SND_HDA_INPUT_BEEP is disabled.  Fix it.

Fixes: 414d38ba8710 ("ALSA: hda/sigmatel: Keep power up while beep is enabled")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20220905130630.2845-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c