]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: davinvi-mcasp: Balance pm_runtime_enable() on probe failure
authorAnil Kumar <anilk4.v@gmail.com>
Sun, 9 Nov 2014 12:45:14 +0000 (18:15 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 13:45:38 +0000 (13:45 +0000)
commit7771ef3286711a121b763c3620c4619f51b2acfd
treecb767af22d2a36c01a632a6b12b60031f2478cbb
parent0380866a9131646787dc60d19a6d5d2c22dffdd1
ASoC: davinvi-mcasp: Balance pm_runtime_enable() on probe failure

If probe fails then we need to call pm_runtime_disable() to balance
out the previous pm_runtime_enable() call.

Signed-off-by: Anil Kumar <anilk4.v@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c