pmaports/device/testing/linux-samsung-a6lte/disable-boot-mode-check.patch
Sergey Lisov a14ef97406
linux-samsung-a6lte: touchscreen in charge mode (MR 4845)
pmOS does not support charge mode anyway, and boots to a full UI, but this vendor kernel disables touchscreen when booting in charge mode. Remove that check, so that the phone can be used as usual.

[ci:skip-build]: already built successfully in CI
2024-03-17 21:16:17 +03:00

11 lines
301 B
Diff

--- a/drivers/staging/samsung/sec_batt.c 2022-02-08 08:17:27.000000000 +0300
+++ b/drivers/staging/samsung/sec_batt.c 2024-02-20 00:28:52.680748950 +0300
@@ -20,6 +20,8 @@
static int sec_bat_is_lpm_check(char *str)
{
+ int lpcharge = 0;
+
if (strncmp(str, "charger", 7) == 0)
lpcharge = 1;