1e7a8a1556
Added postmarketos-base-downstream and msm-fb-refresher to jxelte dependencies. The modules_install and firmware_install targets install binary files as the zram files among others. Added the 'mfc_fw.bin' binary to be installed from the firmware package. The '0002-fix-usb-gadget-random-mac.patch' patch make it possible to get ethernet over usb, and the 'disable-charging-bootmode.patch' avoid error messages on dmesg about 'sec_battery_probe'. [ci:skip-build]: already built successfully in CI
14 lines
438 B
Diff
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;
|