regmap: Modify map->cache_bypass directly
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 10:43:42 +0000 (11:43 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 12:56:39 +0000 (13:56 +0100)
commitec8a365fe62c78a16268bd1d12dfbebc2b775991
tree11aafc8618736161bfbe6a189300aae3bcca707c
parenta40c282362419b8bccb75cea081992f535841085
regmap: Modify map->cache_bypass directly

In preperation for the upcoming patches, modify map->cache_bypass
directly.  The helper functions will grab an exclusive lock.  Because
we'll have acquired the same lock we need to avoid a deadlock.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache.c