olpc-battery: update CHARGE_FULL_DESIGN property for BYD LiFe batteries
[firefly-linux-kernel-4.4.55.git] / drivers / power / olpc_battery.c
index 1630add1a6deb0cb1c180e43bcf4b891dce86ad3..55b10b81335384f203c3fb91304a86679b93f868 100644 (file)
@@ -231,11 +231,9 @@ static int olpc_bat_get_charge_full_design(union power_supply_propval *val)
 
        case POWER_SUPPLY_TECHNOLOGY_LiFe:
                switch (mfr) {
-               case 1: /* Gold Peak */
-                       val->intval = 2800000;
-                       break;
+               case 1: /* Gold Peak, fall through */
                case 2: /* BYD */
-                       val->intval = 3100000;
+                       val->intval = 2800000;
                        break;
                default:
                        return -EIO;