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>
This commit is contained in:
Steve Twiss 2015-10-16 09:55:54 +01:00 committed by Mark Brown
parent 6ff33f3902
commit 8b7081442e
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id,
case DA9053_AA: case DA9053_AA:
case DA9053_BA: case DA9053_BA:
case DA9053_BB: case DA9053_BB:
case DA9053_BC:
for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) { for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) {
info = &da9053_regulator_info[i]; info = &da9053_regulator_info[i];
if (info->reg_desc.id == id) if (info->reg_desc.id == id)