From: Suman Anna Date: Tue, 17 Mar 2015 01:14:02 +0000 (-0500) Subject: ARM: OMAP: dmtimer: check for pm_runtime_get_sync() failure X-Git-Tag: fixes-v4.0-rc4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a76fc9dda87b51010e4bc60b5e0065a70180b465;p=pandora-kernel.git ARM: OMAP: dmtimer: check for pm_runtime_get_sync() failure The current OMAP dmtimer probe does not check for the return status of pm_runtime_get_sync() before initializing the timer registers. Any timer with missing hwmod data would return a failure here, and the access of registers without enabling the clocks for the timer would trigger a l3_noc interrupt and a kernel boot hang. Add proper checking so that the probe would return a failure graciously without hanging the kernel boot. Signed-off-by: Suman Anna Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed