Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: core: Remove superfluous CONFIG_PM

Since the recent code change, the conditional build with CONFIG_PM is
calling only snd_power_sync_ref(). As a dummy function is provided
for this function, we can get rid of CONFIG_PM gracefully now.

Link: https://lore.kernel.org/r/20240510125128.6058-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

-2
-2
sound/core/init.c
··· 550 550 clear_bit(card->number, snd_cards_lock); 551 551 } 552 552 553 - #ifdef CONFIG_PM 554 553 snd_power_sync_ref(card); 555 - #endif 556 554 } 557 555 EXPORT_SYMBOL(snd_card_disconnect); 558 556