a14ef97406
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
11 lines
301 B
Diff
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;
|
|
|