linux-stable/sound/soc/mxs
Mans Rullgard f212c6d8c2 ASoC: mxs-saif: fix clk_prepare() without matching clk_unprepare()
The clk_prepare() call in hw_params() has no matching clk_unprepare(),
leaving the clk with an ever-increasing prepare count.  Moreover,
hw_params() can be called multiple times which would again leave us
with a runaway prepare count.  Fix this by moving the clk_prepare()
call to the startup() function and adding a shutdown() function with
a matching clk_unprepare() as these operations are already correctly
bracketed by soc-core.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-01-27 13:20:45 +00:00
..
Kconfig ASoC: mxs: Depends on COMMON_CLK 2013-07-22 14:19:21 +01:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
mxs-pcm.c ASoC: mxs: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag 2014-01-07 11:41:36 +00:00
mxs-pcm.h ASoC: mxs: Use devm_snd_dmaengine_pcm_register() 2013-12-02 11:49:36 +00:00
mxs-saif.c ASoC: mxs-saif: fix clk_prepare() without matching clk_unprepare() 2016-01-27 13:20:45 +00:00
mxs-saif.h ASoC: mxs-saif: Do not store the irq number in the private structure 2014-12-30 16:44:53 +00:00
mxs-sgtl5000.c ASoC: mxs-sgtl5000: Convert to devm_snd_soc_register_card 2015-09-14 18:33:17 +01:00