]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/regulator/twl6030-regulator.c
Merge remote-tracking branches 'regulator/topic/notifier', 'regulator/topic/pfuze100...
[mirror_ubuntu-jammy-kernel.git] / drivers / regulator / twl6030-regulator.c
index 4864b9d742c0f7915cc792aaacd692c2a7f305b0..56aada387887766048b822c362cb5520493bcda5 100644 (file)
@@ -452,12 +452,10 @@ static int twl6030smps_map_voltage(struct regulator_dev *rdev, int min_uV,
                        vsel = 62;
                else if ((min_uV > 1800000) && (min_uV <= 1900000))
                        vsel = 61;
-               else if ((min_uV > 1350000) && (min_uV <= 1800000))
+               else if ((min_uV > 1500000) && (min_uV <= 1800000))
                        vsel = 60;
                else if ((min_uV > 1350000) && (min_uV <= 1500000))
                        vsel = 59;
-               else if ((min_uV > 1300000) && (min_uV <= 1350000))
-                       vsel = 58;
                else
                        return -EINVAL;
                break;