From: Steve Twiss Date: Fri, 16 Oct 2015 08:55:54 +0000 (+0100) Subject: regulator: da9053: Update regulator for DA9053 BC silicon support X-Git-Tag: firefly_0821_release~176^2~791^2~2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8b7081442ee29b0de0bede6fcf7752b97159b581;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Mark Brown --- 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, case DA9053_AA: case DA9053_BA: case DA9053_BB: + case DA9053_BC: for (i = 0; i < ARRAY_SIZE(da9053_regulator_info); i++) { info = &da9053_regulator_info[i]; if (info->reg_desc.id == id)