From: Nishanth Menon Date: Tue, 15 Apr 2014 16:58:31 +0000 (-0500) Subject: crypto: omap-des - handle error of pm_runtime_get_sync X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f51f593b3eb194d01d8980316e6bb1f7d72f567a;p=pandora-kernel.git crypto: omap-des - handle error of pm_runtime_get_sync pm_runtime_get_sync may not always succeed depending on SoC involved. So handle the error appropriately ensuring usage_count is accurate in case of failure. Signed-off-by: Nishanth Menon Reviewed-by: Felipe Balbi Reported-by: Joachim Eastwood Tested-by: Joachim Eastwood Acked-by: Joel Fernandes Signed-off-by: Herbert Xu --- Reading git-diff-tree failed