提交 052d2cd1 编写于 作者: M Mark Brown

regmap: Do debugfs init before cache init

This allows caches to add custom debugfs files.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 d91e8db2
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册