exynos-linux-stable/sound/soc/rockchip
Robin Murphy 73a9f6b959 ASoc: rockchip: i2s: Fix RPM imbalance
[ Upstream commit b1e620e7d32f5aad5353cc3cfc13ed99fea65d3a ]

If rockchip_pcm_platform_register() fails, e.g. upon deferring to wait
for an absent DMA channel, we return without disabling RPM, which makes
subsequent re-probe attempts scream with errors about the unbalanced
enable. Don't do that.

Fixes: ebb75c0bdb ("ASoC: rockchip: i2s: Adjust devm usage")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/bcb12a849a05437fb18372bc7536c649b94bdf07.1570029862.git.robin.murphy@arm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-10 11:23:11 +01:00
..
Kconfig ASoC: rockchip: use SPI dependency for rt5514 2016-09-01 21:01:14 +01:00
Makefile ASoC: rockchip: Add machine driver for RK3399 GRU Boards 2016-08-08 11:55:10 +01:00
rk3399_gru_sound.c ASoC: rk3399_gru_sound: fix recording pop at first attempt 2016-09-24 19:11:04 +01:00
rockchip_i2s.c ASoc: rockchip: i2s: Fix RPM imbalance 2019-11-10 11:23:11 +01:00
rockchip_i2s.h ASoC: rockchip: i2s: rename I2S_CKR_TRCM_TX/RXSHARE to I2S_CKR_TRCM_TX/RXONLY 2016-05-30 16:19:41 +01:00
rockchip_max98090.c ASoC: rockchip-max98090: Fix jack detection and event reporting. 2016-05-30 16:19:41 +01:00
rockchip_rt5645.c ASoC: rockchip-rt5645: Allow more sample rates 2015-11-16 10:10:24 +00:00
rockchip_spdif.c ASoC: rockchip: disable clock on error 2018-02-25 11:05:48 +01:00
rockchip_spdif.h Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00