From: Lucas Stach Date: Wed, 27 May 2015 08:10:26 +0000 (+0200) Subject: ARM: imx6: gpc: don't register power domain if DT data is missing X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~38^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b17c70cd9211e9bbcd77a489f9c60f3d1bd4c392;p=pandora-kernel.git ARM: imx6: gpc: don't register power domain if DT data is missing If the devicetree is too old and does not provide the regulator and clocks for the power domain, we need to avoid registering the power domain. Otherwise runtime PM will try to control the domain, which will lead to machine hangs without the proper DT configuration data. This restores functionality to the kernel 4.0 level if an old DT is detected, where the power domain is constantly powered on. Signed-off-by: Lucas Stach Signed-off-by: Shawn Guo --- Reading git-diff-tree failed