From: Peter Ujfalusi Date: Thu, 30 Jan 2014 13:21:30 +0000 (+0200) Subject: ASoC: davinci-mcasp: Consolidate pm_runtime_get/put() use in the driver X-Git-Tag: v3.14-rc4~19^2~1^2~1^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d17a04ef2f2982fb81fde8ca3fe75723204a68a;p=pandora-kernel.git ASoC: davinci-mcasp: Consolidate pm_runtime_get/put() use in the driver The use of pm_runtime in trigger() callback is not correct and it will lead to unbalanced power.usage_count. The only place which might need to call pm_runtime is the set_fmt callback. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-diff-tree failed