From 4a2b0132a4f06ef0628f787ca059e33e2a138431 Mon Sep 17 00:00:00 2001 From: Osvaldo Banuelos Date: Fri, 19 Aug 2016 15:17:22 -0700 Subject: [PATCH] regulator: cprh-kbss-regulator: increase number of supported fuse combos Add support for a total of 16 fuse combos to cater to MSMCOBALT parts blown with a speed-bin fuse equal to 1. CRs-Fixed: 1057119 Change-Id: I778e33b9de9947dd33f4cb7142be8771d4afc7cb Signed-off-by: Osvaldo Banuelos --- drivers/regulator/cprh-kbss-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/cprh-kbss-regulator.c b/drivers/regulator/cprh-kbss-regulator.c index 083459f96ac4..08a42c2f102c 100644 --- a/drivers/regulator/cprh-kbss-regulator.c +++ b/drivers/regulator/cprh-kbss-regulator.c @@ -69,8 +69,9 @@ struct cprh_msmcobalt_kbss_fuses { /* * Fuse combos 0 - 7 map to CPR fusing revision 0 - 7 with speed bin fuse = 0. + * Fuse combos 8 - 15 map to CPR fusing revision 0 - 7 with speed bin fuse = 1. */ -#define CPRH_MSMCOBALT_KBSS_FUSE_COMBO_COUNT 8 +#define CPRH_MSMCOBALT_KBSS_FUSE_COMBO_COUNT 16 /* * Constants which define the name of each fuse corner.