WSL2-Linux-Kernel/sound/soc/fsl
Maarten Zanders c08f4ea79f ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N
[ Upstream commit 6a564338a2 ]

When CONFIG_PM=N, pm_runtime_put_sync() returns -ENOSYS
which breaks the probe function of these drivers.

Other users of pm_runtime_put_sync() typically don't check
the return value. In order to keep the program flow as
intended, check for -ENOSYS.

This commit is similar to commit 0434d3f (omap-mailbox.c).

Fixes: cab04ab590 ("ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk")
Fixes: 203773e393 ("ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk")
Fixes: 2277e7e36b ("ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk")
Signed-off-by: Maarten Zanders <maarten.zanders@mind.be>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20221028141129.100702-1-maarten.zanders@mind.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-02 17:40:59 +01:00
..
Kconfig Merge branch 'for-5.13' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.14 2021-05-25 16:44:26 +01:00
Makefile ASoC: imx-card: Add imx-card machine driver 2021-05-20 17:57:30 +01:00
efika-audio-fabric.c
eukrea-tlv320.c ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API 2022-10-26 12:34:55 +02:00
fsl-asoc-card.c ASoC: fsl-asoc-card: force cast the asrc_format type 2022-08-17 14:24:10 +02:00
fsl_asrc.c ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N 2022-12-02 17:40:59 +01:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01:00
fsl_asrc_common.h ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA 2020-06-12 14:18:04 +01:00
fsl_asrc_dma.c ASoC: fsl_asrc_dma: Use managed buffer allocation 2021-08-04 08:09:02 +02:00
fsl_aud2htx.c ASoC: fsl_aud2htx: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:03:12 +01:00
fsl_aud2htx.h ASoC: fsl_aud2htx: Add aud2htx module driver 2020-11-05 17:06:16 +00:00
fsl_audmix.c ASoC: fsl_audmix: Don't use devm_regmap_init_mmio_clk 2021-03-24 19:49:31 +00:00
fsl_audmix.h ASoC: fsl_audmix: Add spin lock to protect tdms 2019-11-11 13:01:37 +00:00
fsl_dma.c ASoC: fsl_dma: Use managed buffer allocation 2021-08-04 08:09:09 +02:00
fsl_dma.h
fsl_easrc.c ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format 2022-08-17 14:24:10 +02:00
fsl_easrc.h ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format 2022-08-17 14:24:10 +02:00
fsl_esai.c ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N 2022-12-02 17:40:59 +01:00
fsl_esai.h
fsl_micfil.c ASoC: fsl_micfil: register platform component before registering cpu dai 2021-09-10 15:08:23 +01:00
fsl_micfil.h
fsl_mqs.c ASoC: fsl_mqs: fix MODULE_ALIAS 2022-01-27 11:04:18 +01:00
fsl_rpmsg.c ASoC: fsl_rpmsg: Check -EPROBE_DEFER for getting clocks 2021-08-18 13:55:18 +01:00
fsl_rpmsg.h ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg 2021-03-25 13:58:07 +00:00
fsl_sai.c ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N 2022-12-02 17:40:59 +01:00
fsl_sai.h ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition 2022-06-14 18:36:09 +02:00
fsl_spdif.c ASoC: fsl_spdif: Disable TX clock when stop 2022-04-08 14:23:22 +02:00
fsl_spdif.h ASoC: fsl_spdif: add support for enabling raw capture mode 2021-05-10 13:05:31 +01:00
fsl_ssi.c ASoC: fsl_ssi: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:03:17 +01:00
fsl_ssi.h
fsl_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_utils.c
fsl_utils.h
fsl_xcvr.c ASoC: fsl_xcvr: Fix channel swap issue with ARC 2021-09-21 13:23:36 +01:00
fsl_xcvr.h ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver 2020-10-26 15:45:31 +00:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: use module_rpmsg_driver to simplify the code 2021-06-03 13:59:57 +01:00
imx-audmix.c ASoC: fsl: remove unnecessary oom message 2021-06-23 11:49:38 +01:00
imx-audmux.c ASoC: imx-audmux: Silence a clang warning 2022-08-17 14:24:02 +02:00
imx-audmux.h
imx-card.c ASoC: imx-card: Fix refcount issue with of_node_put 2022-10-05 10:39:41 +02:00
imx-es8328.c ASoC: imx-es8328: Fix error return code in imx_es8328_probe() 2022-04-08 14:23:22 +02:00
imx-hdmi.c ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe 2022-06-09 10:22:56 +02:00
imx-pcm-dma.c
imx-pcm-fiq.c ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation 2021-08-04 08:08:42 +02:00
imx-pcm-rpmsg.c ASoC: fsl: imx-pcm-rpmsg: Use managed buffer allocation 2021-08-04 08:08:49 +02:00
imx-pcm-rpmsg.h ASoC: imx-pcm-rpmsg: Fix warning of incorrect type in assignment 2021-05-10 13:05:38 +01:00
imx-pcm.h
imx-rpmsg.c ASoC: imx-rpmsg: change dev_err to dev_err_probe for -EPROBE_DEFER 2021-08-25 14:15:47 +01:00
imx-sgtl5000.c ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe 2022-06-09 10:22:56 +02:00
imx-spdif.c ASoC: fsl: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
imx-ssi.h
mpc5200_dma.c ASoC: mpc5200: Use managed buffer allocation 2021-08-04 08:09:16 +02:00
mpc5200_dma.h
mpc5200_psc_ac97.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
mpc5200_psc_i2s.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
mpc8610_hpcd.c ASoC: fsl: mpc8610: remove useless assignment 2021-03-10 13:06:42 +00:00
p1022_ds.c ASoC: fsl: p1022_ds: remove useless assignment 2021-03-10 13:06:43 +00:00
p1022_rdk.c ASoC: fsl: use asoc_substream_to_rtd() 2020-07-23 19:07:31 +01:00
pcm030-audio-fabric.c ASoC: fsl: Add missing error handling in pcm030_fabric_probe 2022-02-08 18:34:10 +01:00