From: Lars-Peter Clausen Date: Sun, 24 Aug 2014 13:32:27 +0000 (+0200) Subject: regmap: Fix regcache debugfs initialization X-Git-Tag: fixes-v3.17-rc4~29^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e0cbe78762b5f02986bf9e59a188dad2f6e0be1;p=pandora-kernel.git regmap: Fix regcache debugfs initialization Commit 6cfec04bcc05 ("regmap: Separate regmap dev initialization") moved the regmap debugfs initialization after regcache initialization. This means that the regmap debugfs directory is not created yet when the cache initialization runs and so any debugfs files registered by the regcache are created in the debugfs root directory rather than the debugfs directory of the regmap instance. Fix this by adding a separate callback for the regcache debugfs initialization which will be called after the parent debugfs entry has been created. Fixes: 6cfec04bcc05 (regmap: Separate regmap dev initialization) Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed