0411403007
Downstream kernel will not be maintained really, but useful for exploring stuff. This kernel is at version 4.14 and can be compiled with recent gcc versions though, so not that bad. USB rndis works, touchscreen too, but no display (framebuffer, /dev/fb0 is not present at all). Internal storage works, also battery/charging.
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 0eb512a3fc66b1a6eb08cb3e2abcca2683a1a4b3 Mon Sep 17 00:00:00 2001
|
|
From: Alexey Min <alexey.min@gmail.com>
|
|
Date: Wed, 14 Jul 2021 15:04:34 +0300
|
|
Subject: [PATCH 7/7] qpnp-fg-gen4: reduce dmesg spamming
|
|
|
|
Remove annoying messages:
|
|
FG: soc_work_fn: adjust_soc: s 100 r 260253 i 0 v 4350 t 357 cc 368 m 0xfd
|
|
|
|
Signed-off-by: Alexey Min <alexey.min@gmail.com>
|
|
---
|
|
drivers/power/supply/qcom/qpnp-fg-gen4.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/power/supply/qcom/qpnp-fg-gen4.c b/drivers/power/supply/qcom/qpnp-fg-gen4.c
|
|
index 0aa056efec03..e208aa245b6e 100644
|
|
--- a/drivers/power/supply/qcom/qpnp-fg-gen4.c
|
|
+++ b/drivers/power/supply/qcom/qpnp-fg-gen4.c
|
|
@@ -6090,6 +6090,7 @@ static void soc_work_fn(struct work_struct *work)
|
|
if (rc < 0)
|
|
pr_err("failed to get cycle count, rc=%d\n", rc);
|
|
|
|
+#if 0
|
|
pr_info("adjust_soc: s %d r %d i %d v %d t %d cc %d m 0x%02x\n",
|
|
soc,
|
|
esr_uohms,
|
|
@@ -6098,6 +6099,7 @@ static void soc_work_fn(struct work_struct *work)
|
|
temp,
|
|
cycle_count,
|
|
msoc);
|
|
+#endif
|
|
|
|
if (temp < 450 && fg->last_batt_temp >= 450) {
|
|
/* follow the way that fg_notifier_cb use wake lock */
|
|
--
|
|
2.31.1
|
|
|