linux/sound/soc
Arnd Bergmann 041c5a1d06
ASoC: loongson: fix unused PM function warning
Build testing without CONFIG_PM_SLEEP causes a warning:

sound/soc/loongson/loongson_i2s.c:246:12: error: unused function 'i2s_suspend' [-Werror,-Wunused-function]
sound/soc/loongson/loongson_i2s.c:255:12: error: unused function 'i2s_resume' [-Werror,-Wunused-function]

Use the modern SYSTEM_SLEEP_PM_OPS() instead of the old one to avoid this.

Fixes: d24028606e ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616090156.2347850-2-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-16 12:56:07 +01:00
..
adi ASoC: adi: axi-spdif: Convert to platform remove callback returning void 2023-03-20 13:07:10 +00:00
amd ASoC: amd: use use new trigger ordering method 2023-06-13 12:11:20 +01:00
apple ASoC: apple: mca: Convert to platform remove callback returning void 2023-03-20 13:07:18 +00:00
atmel ASoC: atmel: use use new trigger ordering method 2023-06-13 12:11:21 +01:00
au1x ASoC: au1x: psc-i2s: Convert to platform remove callback returning void 2023-03-20 13:07:31 +00:00
bcm ASoC: bcm: cygnus-ssp: Convert to platform remove callback returning void 2023-03-20 13:07:33 +00:00
cirrus ASoC: ep93xx: Add OF support 2023-04-12 12:54:23 +01:00
codecs ASoC: max98388: fix unused function warnings 2023-06-16 12:56:06 +01:00
dwc ASoC: Merge up fixes for CI 2023-05-15 19:55:52 +09:00
fsl ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
generic ASoC: simple_card_utils: remove unused cpus/codecs/platforms from props 2023-06-15 12:08:41 +01:00
google ASoC: Add Google Chameleon v3 i2s driver 2023-05-17 10:37:07 +09:00
hisilicon
img ASoC: img: pistachio-internal-dac: Convert to platform remove callback returning void 2023-03-20 13:08:22 +00:00
intel ASoC: Intel: sof_sdw: add dai_link_codec_ch_map 2023-06-13 12:11:16 +01:00
jz4740 ASoC: Merge up fixes for CI 2023-05-15 19:55:52 +09:00
kirkwood ASoC: kirkwood: kirkwood-i2s: Convert to platform remove callback returning void 2023-03-20 13:08:35 +00:00
loongson ASoC: loongson: fix unused PM function warning 2023-06-16 12:56:07 +01:00
mediatek ASoC: mediatek: mt8173: Fix irq error path 2023-06-12 14:47:46 +01:00
meson ASoC: meson: use asoc_dummy_dlc 2023-05-08 08:47:11 +09:00
mxs ASoC: mxs: mxs-sgtl5000: Convert to platform remove callback returning void 2023-03-20 13:08:44 +00:00
pxa ASoC: pxa: pxa2xx-ac97: Convert to platform remove callback returning void 2023-03-20 13:08:46 +00:00
qcom ASoC: use pm.h instead of runtime_pm.h 2023-05-23 13:55:56 +01:00
rockchip ALSA/ASoC: Convert to platform remove callback 2023-03-21 16:29:48 +00:00
samsung ASoC: samsung: switch to use c2c_params instead of params 2023-04-05 12:16:38 +01:00
sh ASoC: siu: Add MODULE_FIRMWARE macro 2023-06-13 12:15:12 +01:00
sof ASoC: SOF: amd: Add support for IPC with a reply_size set to zero 2023-06-14 12:27:00 +01:00
spear ASoC: spear: use helper function 2023-01-31 11:04:59 +00:00
sprd ASoC: sprd: sprd-mcdt: Convert to platform remove callback returning void 2023-03-20 13:09:02 +00:00
starfive ASoC: starfive: use use new trigger ordering method 2023-06-13 12:11:22 +01:00
sti
stm ASoC: stm32: sai: Use the devm_clk_get_optional() helper 2023-05-22 11:18:55 +01:00
sunxi ASoC: sunxi: sun8i-codec: Convert to platform remove callback returning void 2023-03-20 13:09:10 +00:00
tegra ASoC: tegra: Simplify code around clk_get_rate() handling 2023-06-08 11:36:27 +01:00
ti ASoC: ti: davinci-mcasp: Use pcm_for_each_format() macro 2023-05-30 13:43:38 +01:00
uniphier ASoC: uniphier: evea: Convert to platform remove callback returning void 2023-03-20 13:09:31 +00:00
ux500 ASoC: ux500: ux500_msp_dai: Convert to platform remove callback returning void 2023-03-20 13:09:32 +00:00
xilinx ASoC: xilinx: xlnx_spdif: Convert to platform remove callback returning void 2023-03-20 13:09:34 +00:00
xtensa ASoC: xtensa: xtfpga-i2s: Convert to platform remove callback returning void 2023-03-20 13:09:35 +00:00
Kconfig ASoC: Add support for Loongson I2S controller 2023-06-15 13:53:24 +01:00
Makefile ASoC: Add support for Loongson I2S controller 2023-06-15 13:53:24 +01:00
soc-ac97.c ASoC: soc-ac97: Return correct error codes 2023-02-15 16:09:07 +00:00
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: Add notify control helper function 2023-05-15 20:11:17 +09:00
soc-compress.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
soc-core.c ASoC: add snd_soc_get_stream_cpu() 2023-06-06 16:57:31 +01:00
soc-dai.c ASoC: soc-dai.c: add missing flag check at snd_soc_pcm_dai_probe() 2023-03-14 13:58:56 +00:00
soc-dapm.c ASoC: add N cpus to M codecs dai link support 2023-06-13 12:11:15 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c ASoC: jack: allow multiple interrupt per gpio 2023-03-05 23:38:38 +00:00
soc-link.c
soc-ops.c ASoC: ops: Correct bounds check for second channel on SX controls 2022-11-25 16:29:33 +00:00
soc-pcm.c ASoC: add new trigger ordering method 2023-06-13 17:39:51 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Allow partial matching when finding DAI link 2023-05-30 14:11:02 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils.c: add asoc_dummy_dlc 2023-05-08 08:47:05 +09:00