Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f32ca3db authored by Mark Brown's avatar Mark Brown
Browse files

regmap: debugfs: Fix seeking from the cache



We don't want to bomb out early if we failed to get the cache any more,
just soldier on instead and we won't get confused and always return the
first block.

Reported-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e8d6539c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -121,8 +121,6 @@ static unsigned int regmap_debugfs_get_dump_start(struct regmap *map,
		c->max = p - 1;
		list_add_tail(&c->list,
			      &map->debugfs_off_cache);
	} else {
		return base;
	}

	/*