pmaports/device/testing/linux-samsung-j7y17lte/disable-charging-bootmode.patch
Eray Tutmaz 93f68f6253
samsung-j7y17lte: new device (MR 4502)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 02:19:03 -08: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;