twl-regulator: Fix reg_disable functionality for 4030 and 6030

This change makes sure all regulator group assignments are cleared on
disable call

Signed-off-by: Juha Keski-Saari <ext-juha.1.keski-saari@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>

authored by Juha Keski-Saari and committed by Liam Girdwood cf9836f4 53b8a9d9

+2 -2
+2 -2
drivers/regulator/twl-regulator.c
··· 163 163 return grp; 164 164 165 165 if (twl_class_is_4030()) 166 - grp &= ~P1_GRP_4030; 166 + grp &= ~(P1_GRP_4030 | P2_GRP_4030 | P3_GRP_4030); 167 167 else 168 - grp &= ~P1_GRP_6030; 168 + grp &= ~(P1_GRP_6030 | P2_GRP_6030 | P3_GRP_6030); 169 169 170 170 return twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_GRP, grp); 171 171 }