aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2024-05-02 08:24:42 +0200
committerGravatar Takashi Iwai <tiwai@suse.de> 2024-05-02 08:25:06 +0200
commitfdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8 (patch)
tree5f154be55e797bf3524fc5326745a276cdae8060 /Documentation
parentMerge tag 'asoc-fix-v6.9-rc6' of https://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-fdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8.tar.gz
linux-fdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8.tar.bz2
linux-fdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8.zip
ALSA: hda/realtek: Fix build error without CONFIG_PM
The alc_spec.power_hook is defined only with CONFIG_PM, and the recent fix overlooked it, resulting in a build error without CONFIG_PM. Fix it with the simple ifdef and set __maybe_unused for the function. We may drop the whole CONFIG_PM dependency there, but it should be done in a separate cleanup patch later. Fixes: 1e707769df07 ("ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202405012104.Dr7h318W-lkp@intel.com/ Message-ID: <20240502062442.30545-1-tiwai@suse.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions