android_kernel_samsung_a7y1.../sound/soc/rockchip
Robin Murphy 90782c1c5c 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: ebb75c0bdba2 ("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>
2020-04-07 09:28:55 +02:00
..
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip_i2s.c ASoc: rockchip: i2s: Fix RPM imbalance 2020-04-07 09:28:55 +02:00
rockchip_i2s.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip_max98090.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip_rt5645.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip_spdif.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip_spdif.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30