From: Kishon Vijay Abraham I Date: Fri, 31 Jul 2015 12:25:10 +0000 (+0530) Subject: PCI: dra7xx: Disable pm_runtime on get_sync failure X-Git-Tag: omap-for-v4.3/fixes-merge-window~31^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e2bdb0e7abf4b5170874e415ec42df547916dd3;p=pandora-kernel.git PCI: dra7xx: Disable pm_runtime on get_sync failure Fix the error handling when pm_runtime_get_sync() fails. If pm_runtime_get_sync() fails, call pm_runtime_disable() so there are no unbalanced pm_runtime_enable() calls. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Bjorn Helgaas Reviewed-by: Jingoo Han --- Reading git-diff-tree failed