Re: [PATCH 1/2] regmap: Return a sensible error code if we fail toread the cache

From: Dimitris Papastamos
Date: Mon Oct 10 2011 - 05:03:08 EST


On Sun, Oct 09, 2011 at 02:44:35PM +0100, Mark Brown wrote:
> If a register isn't cached then let callers know that so they can fall
> back or error handle appropriately.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/base/regmap/regcache-indexed.c | 7 +++----
> drivers/base/regmap/regcache-lzo.c | 4 ++--
> drivers/base/regmap/regcache-rbtree.c | 3 +--
> drivers/base/regmap/regcache.c | 2 +-
> 4 files changed, 7 insertions(+), 9 deletions(-)

Acked-by: Dimitris Papastamos <dp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/