From 5321d06664b2cc5334b0f34b99696ca05500e9a4 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Mon, 7 May 2012 18:08:25 +0530 Subject: [PATCH] --- yaml --- r: 302257 b: refs/heads/master c: 16ea003bd1c95ea55a0b88187ce7cbeaca760fcf h: refs/heads/master i: 302255: a165357a706683f6c3d7eb9e7a0156dc4c932aa9 v: v3 --- [refs] | 2 +- trunk/drivers/regulator/tps62360-regulator.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e9a85a8ae90e..d22484082e33 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8e8a507c2427c960c5d1fe58a250635b35f3acdc +refs/heads/master: 16ea003bd1c95ea55a0b88187ce7cbeaca760fcf diff --git a/trunk/drivers/regulator/tps62360-regulator.c b/trunk/drivers/regulator/tps62360-regulator.c index 20fef1d6cf90..e8930805c525 100644 --- a/trunk/drivers/regulator/tps62360-regulator.c +++ b/trunk/drivers/regulator/tps62360-regulator.c @@ -262,8 +262,10 @@ static int tps62360_init_dcdc(struct tps62360_chip *tps, } static const struct regmap_config tps62360_regmap_config = { - .reg_bits = 8, - .val_bits = 8, + .reg_bits = 8, + .val_bits = 8, + .max_register = REG_CHIPID, + .cache_type = REGCACHE_RBTREE, }; static int __devinit tps62360_probe(struct i2c_client *client,