From: Tero Kristo Date: Thu, 24 Oct 2013 12:03:41 +0000 (+0300) Subject: regmap: debugfs: Fix a boot time crash with early regmap init X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~17^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52eaeb1898bc0589888ee62de291aa278379004;p=pandora-kernel.git regmap: debugfs: Fix a boot time crash with early regmap init If called early enough, regmap_debugfs_init causes a crash, if the fs subsystem does not have its mount cache created yet. Even if this would work, the root node for the regmap debugfs is still missing, thus postpone the regmap_debugfs_init in this case until the root node is created. A special regmap_debugfs_early list is created for this purpose which is parsed later in the boot. Signed-off-by: Tero Kristo Signed-off-by: Mark Brown --- Reading git-diff-tree failed