mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
regmap: Do debugfs init before cache init
This allows caches to add custom debugfs files. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
d91e8db2c3
commit
052d2cd123
1 changed files with 2 additions and 2 deletions
|
@ -241,12 +241,12 @@ struct regmap *regmap_init(struct device *dev,
|
|||
goto err_map;
|
||||
}
|
||||
|
||||
regmap_debugfs_init(map);
|
||||
|
||||
ret = regcache_init(map, config);
|
||||
if (ret < 0)
|
||||
goto err_free_workbuf;
|
||||
|
||||
regmap_debugfs_init(map);
|
||||
|
||||
return map;
|
||||
|
||||
err_free_workbuf:
|
||||
|
|
Loading…
Reference in a new issue