WSL2-Linux-Kernel/sound/soc/atmel
Codrin Ciubotariu 988b59467b
ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
If hw_free() gets called after hw_params(), GCLK remains prepared,
preventing further use of it. This patch fixes this by unpreparing the
clock in hw_free() or if hw_params() gets an error.

Fixes: 7e0cdf545a55 ("ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel Controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20190820162411.24836-2-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-20 18:36:32 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel Controller 2019-03-21 14:53:12 +00:00
atmel-classd.c ASoC: atmel: atmel-classd: consider CPU-Platform possibility 2019-06-28 15:09:19 +01:00
atmel-classd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-i2s.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
atmel-pcm-dma.c ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pcm-pdc.c ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pcm.h ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pdmic.c ASoC: atmel: atmel-pdmic: consider CPU-Platform possibility 2019-06-28 15:09:40 +01:00
atmel-pdmic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel_ssc_dai.c ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel_ssc_dai.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
atmel_wm8904.c ASoC: atmel: atmel_wm8904: consider CPU-Platform possibility unnecessary Platform" 2019-06-28 15:10:01 +01:00
mchp-i2s-mcc.c ASoC: mchp-i2s-mcc: Fix unprepare of GCLK 2019-08-20 18:36:32 +01:00
mikroe-proto.c ASoC: amtel: mikroe-proto: consider CPU-Platform possibility 2019-06-28 15:10:11 +01:00
sam9g20_wm8731.c ASoC: atmel: sam9g20_wm8731: consider CPU-Platform possibility 2019-06-28 15:10:31 +01:00
sam9x5_wm8731.c ASoC: atmel: sam9x5_wm8731: consider CPU-Platform possibility 2019-06-28 15:10:41 +01:00
tse850-pcm5142.c ASoC: atmel: tse850-pcm5142: consider CPU-Platform possibility 2019-06-28 15:10:51 +01:00