pmaports/device/testing/linux-samsung-on7xelte/disable-charging-bootmode.patch
methanal 58690846bb
samsung-on7xelte: new device (MR 4220)
[ci:skip-build]: already built successfully in CI
2023-07-05 18:47:32 +02:00

14 lines
438 B
Diff

diff --git a/drivers/staging/samsung/sec_batt.c b/drivers/staging/samsung/sec_batt.c
index 89960640..5de0b91e 100644
--- a/drivers/staging/samsung/sec_batt.c
+++ b/drivers/staging/samsung/sec_batt.c
@@ -20,9 +20,6 @@ EXPORT_SYMBOL(lpcharge);
static int sec_bat_is_lpm_check(char *str)
{
- if (strncmp(str, "charger", 7) == 0)
- lpcharge = 1;
-
pr_info("%s: Low power charging mode: %d\n", __func__, lpcharge);
return lpcharge;