linux/sound/soc/rockchip
Stefan Potyra e8e50037b6 ASoC: rockchip: disable clock on error
[ Upstream commit c7b92172a6 ]

Disable the clocks in  rk_spdif_probe when an error occurs after one
of the clocks has been enabled previously.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: f874b80e15 ASoC: rockchip: Add rockchip SPDIF transceiver driver
Signed-off-by: Stefan Potyra <Stefan.Potyra@elektrobit.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-02-25 11:08:02 +01:00
..
Kconfig ASoC: rockchip: Add support for DMIC codec 2017-08-29 20:12:01 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rk3288_hdmi_analog.c ASoC: rockchip: Remove unnecessary function call 2017-08-21 17:13:20 +01:00
rk3399_gru_sound.c ASoC: rockchip: constify snd_soc_ops structures 2017-08-30 16:12:53 +01:00
rockchip_i2s.c ASoC: rockchip: i2s: fix playback after runtime resume 2018-02-16 20:23:04 +01:00
rockchip_i2s.h ASoC: rockchip: i2s: add other configurable formats 2017-06-13 21:47:40 +01:00
rockchip_max98090.c ASoC: rockchip: constify snd_soc_ops structures 2016-10-24 18:33:17 +01:00
rockchip_pdm.c ASoC: rockchip: constify snd_soc_dai_ops structures 2017-08-15 18:11:10 +01:00
rockchip_pdm.h ASoC: rockchip: add support for pdm controller 2017-06-13 19:09:34 +01:00
rockchip_rt5645.c ASoC: rockchip: constify snd_soc_ops structures 2016-10-24 18:33:17 +01:00
rockchip_spdif.c ASoC: rockchip: disable clock on error 2018-02-25 11:08:02 +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