linux/sound/pci/oxygen
Takashi Iwai ee3d1f09e0 ALSA: oxygen: Fix dependency on CONFIG_PM_SLEEP
The conversion to EXPORT_SIMPLE_DEV_PM_OPS() also replaced the pm ops
assignment with pm_ptr() macro, but this made difference from the
original code; it  had conditional with ifdef CONFIG_PM_SLEEP, while
we have now with CONFIG_PM, instead.  This seems causing build errors
with randomconfig.

For fixing the inconsistency, replace pm_ptr() with pm_sleep_ptr().

Fixes: 5ea0a2206b ("ALSA: oxygen: Convert to EXPORT_SIMPLE_DEV_PM_OPS()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503201853.7kB0BPRw-lkp@intel.com/
Link: https://patch.msgid.link/20250320105721.10789-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2025-03-20 11:59:02 +01:00
..
Makefile ALSA: pci: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:37 +02:00
ak4396.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm9780.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cs2000.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cs4245.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cs4362a.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cs4398.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
oxygen.c ALSA: oxygen: Fix dependency on CONFIG_PM_SLEEP 2025-03-20 11:59:02 +01:00
oxygen.h ALSA: oxygen: Convert to EXPORT_SIMPLE_DEV_PM_OPS() 2025-03-14 11:07:13 +01:00
oxygen_io.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 404 2019-06-05 17:37:13 +02:00
oxygen_lib.c ALSA: oxygen: Convert to EXPORT_SIMPLE_DEV_PM_OPS() 2025-03-14 11:07:13 +01:00
oxygen_mixer.c ALSA: oxygen: Fix right channel of capture volume mixer 2024-01-12 12:11:21 +01:00
oxygen_pcm.c ALSA: Replace with fallthrough pseudo keyword in the remaining places 2020-07-09 19:10:43 +02:00
oxygen_regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pcm1796.h ALSA: virtuoso: add de-emphasis control 2019-01-07 11:54:54 +01:00
se6x.c ALSA: oxygen: Fix dependency on CONFIG_PM_SLEEP 2025-03-20 11:59:02 +01:00
virtuoso.c ALSA: oxygen: Fix dependency on CONFIG_PM_SLEEP 2025-03-20 11:59:02 +01:00
wm8766.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wm8776.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8785.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xonar.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xonar_cs43xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 264 2019-06-05 17:30:28 +02:00
xonar_dg.c ALSA: pci: delete repeated words in comments 2020-08-06 09:30:02 +02:00
xonar_dg.h ASoC: Updates for v4.15 2017-11-13 15:45:57 +01:00
xonar_dg_mixer.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 264 2019-06-05 17:30:28 +02:00
xonar_hdmi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 264 2019-06-05 17:30:28 +02:00
xonar_lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 264 2019-06-05 17:30:28 +02:00
xonar_pcm179x.c ALSA: oxygen: use true,false for bool variables 2020-04-22 11:41:35 +02:00
xonar_wm87x6.c ALSA: pci/oxygen/xonar_wm87x6: remove always true condition 2020-07-07 12:11:18 +02:00