From: Li Fei Date: Thu, 28 Feb 2013 07:37:11 +0000 (+0800) Subject: regmap: irq: call pm_runtime_put in pm_runtime_get_sync failed case X-Git-Tag: v3.9-rc2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283189d3be56aa6db6f192bb255df68493cd79ac;p=pandora-kernel.git regmap: irq: call pm_runtime_put in pm_runtime_get_sync failed case Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Signed-off-by Liu Chuansheng Signed-off-by: Li Fei Signed-off-by: Mark Brown --- Reading git-diff-tree failed