Merge "regmap: initialize dump count to 1"

This commit is contained in:
Linux Build Service Account 2016-07-13 15:45:00 -07:00 committed by Gerrit - the friendly Code Review server
commit 43237e2edc

View file

@ -667,6 +667,7 @@ void regmap_debugfs_init(struct regmap *map, const char *name)
debugfs_create_x32("address", 0600, map->debugfs,
&map->dump_address);
map->dump_count = 1;
debugfs_create_u32("count", 0600, map->debugfs,
&map->dump_count);
debugfs_create_file("data", registers_mode, map->debugfs,