OpenCloudOS-Kernel/sound/soc/fsl
Oleksandr Suvorov d152088978
ASoC: fsl_sai: Fix exiting path on probing failure
If the imx-sdma driver is built as a module, the fsl-sai device doesn't
disable on probing failure, which causes the warning in the next probing:

==================================================================
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
==================================================================

Disabling the device properly fixes the issue.

Fixes: 812ad463e0 ("ASoC: fsl_sai: Add support for runtime pm")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Link: https://lore.kernel.org/r/20200205160436.3813642-1-oleksandr.suvorov@toradex.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-06 15:52:50 +00:00
..
Kconfig ASoC: fsl_mqs: Add MQS component driver 2019-10-01 12:08:38 +01:00
Makefile ASoC: fsl_mqs: Add MQS component driver 2019-10-01 12:08:38 +01:00
efika-audio-fabric.c ASoC: fsl: efika-audio-fabric: use modern dai_link style 2019-06-06 21:41:08 +01:00
eukrea-tlv320.c ASoC: fsl: eukrea-tlv320: consider CPU-Platform possibility 2019-06-28 15:11:07 +01:00
fsl-asoc-card.c ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime() 2019-12-10 13:15:21 +00:00
fsl_asrc.c ASoC: fsl_asrc: Add support for imx8qm & imx8qxp 2020-01-14 16:07:19 +00:00
fsl_asrc.h ASoC: fsl_asrc: Add support for imx8qm & imx8qxp 2020-01-14 16:07:19 +00:00
fsl_asrc_dma.c ASoC: fsl_asrc: Add support for imx8qm & imx8qxp 2020-01-14 16:07:19 +00:00
fsl_audmix.c ASoC: fsl_audmix: add missed pm_runtime_disable 2019-12-24 23:56:18 +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: Drop superfluous ioctl PCM ops 2019-12-11 15:56:42 +00:00
fsl_dma.h ASoC: fsl-dma: Switch to SPDX identifier 2019-04-08 13:51:01 +07:00
fsl_esai.c ASoC: fsl_esai: Add spin lock to protect reset, stop and start 2019-10-28 13:13:37 +00:00
fsl_esai.h ASoC: fsl_esai: Switch to SPDX identifier 2018-05-03 10:29:05 +09:00
fsl_micfil.c ASoC: fsl_micfil: Remove set but not used variable 'osr' 2019-05-02 10:46:02 +09:00
fsl_micfil.h ASoC: Add MICFIL SoC Digital Audio Interface driver. 2019-01-07 17:00:55 +00:00
fsl_mqs.c ASoC: fsl_mqs: Move static keyword to the front of declarations 2019-10-14 12:57:59 +01:00
fsl_sai.c ASoC: fsl_sai: Fix exiting path on probing failure 2020-02-06 15:52:50 +00:00
fsl_sai.h ASoC: fsl_sai: Fix noise when using EDMA 2019-09-17 16:56:19 +01:00
fsl_spdif.c ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
fsl_spdif.h ASoC: fsl_spdif: fix TXCLK_DF mask 2019-02-18 17:41:55 +00:00
fsl_ssi.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
fsl_ssi.h ASoC: fsl: no need to check return value of debugfs_create functions 2019-06-14 16:37:48 +01:00
fsl_ssi_dbg.c ASoC: fsl: no need to check return value of debugfs_create functions 2019-06-14 16:37:48 +01:00
fsl_utils.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
fsl_utils.h ASoC: fsl_utils: Switch to SPDX identifier 2018-07-24 16:59:03 +01:00
imx-audmix.c ASoC: fsl: imx-audmix: use snd_soc_dai_link_component for codec_conf 2019-12-16 12:02:02 +00:00
imx-audmux.c Merge branch 'asoc-5.3' into asoc-5.4 2019-08-20 18:28:43 +01:00
imx-audmux.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
imx-es8328.c ASoC: fsl: imx-es8328: consider CPU-Platform possibility 2019-06-28 15:11:38 +01:00
imx-mc13783.c ASoC: fsl: imx-mc13783: use modern dai_link style 2019-06-06 21:43:33 +01:00
imx-pcm-dma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
imx-pcm-fiq.c ASoC: fsl: Drop superfluous ioctl PCM ops 2019-12-11 15:56:42 +00:00
imx-pcm.h ASoC: imx-pcm: Switch to SPDX identifier 2019-04-08 13:47:44 +07:00
imx-sgtl5000.c ASoC: fsl: imx-sgtl5000: consider CPU-Platform possibility 2019-06-28 15:11:59 +01:00
imx-spdif.c ASoC: fsl: imx-spdif: consider CPU-Platform possibility 2019-06-28 15:12:19 +01:00
imx-ssi.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
imx-ssi.h ASoC: imx-ssi: Switch to SPDX identifier 2019-04-08 13:53:35 +07:00
mpc5200_dma.c ASoC: fsl: Drop superfluous ioctl PCM ops 2019-12-11 15:56:42 +00:00
mpc5200_dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_psc_ac97.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
mpc5200_psc_i2s.c ASoC: mpc5200_psc_i2s: Fix invalid license ID 2019-05-02 10:46:06 +09:00
mpc8610_hpcd.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
mx27vis-aic32x4.c ASoC: fsl: mx27vis-aic32x4: use modern dai_link style 2019-06-06 21:41:37 +01:00
p1022_ds.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
p1022_rdk.c ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style 2019-06-06 21:42:35 +01:00
pcm030-audio-fabric.c ASoC: fsl: pcm030-audio-fabric: use modern dai_link style 2019-06-06 21:43:43 +01:00
phycore-ac97.c ASoC: fsl: phycore-ac97: use modern dai_link style 2019-06-06 21:41:47 +01:00
wm1133-ev1.c ASoC: fsl: wm1133-ev1: use modern dai_link style 2019-06-06 21:41:57 +01:00