diff options
author | Steve Twiss <stwiss.opensource@diasemi.com> | 2015-10-16 04:55:54 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-16 10:36:01 -0400 |
commit | 8b7081442ee29b0de0bede6fcf7752b97159b581 (patch) | |
tree | bd9522fa7db0d21e5894b660eda4f23527bd6ab1 | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) |
regulator: da9053: Update regulator for DA9053 BC silicon support
Provide an additional case entry for DA9053_BC in the find_regulator_info()
function in order to support BC type silicon for the DA9053 device.
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/da9052-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index e628d4c2f2ae..12a25b40e473 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c | |||
@@ -381,6 +381,7 @@ static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id, | |||
381 | case DA9053_AA: | 381 | case DA9053_AA: |
382 | case DA9053_BA: | 382 | case DA9053_BA: |
383 | case DA9053_BB: | 383 | case DA9053_BB: |
384 | case DA9053_BC: | ||
384 | for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) { | 385 | for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) { |
385 | info = &da9053_regulator_info[i]; | 386 | info = &da9053_regulator_info[i]; |
386 | if (info->reg_desc.id == id) | 387 | if (info->reg_desc.id == id) |