forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/power/supply/generic-adc-battery.c
....@@ -138,6 +138,9 @@
138138 result);
139139 if (ret < 0)
140140 pr_err("read channel error\n");
141
+ else
142
+ *result *= 1000;
143
+
141144 return ret;
142145 }
143146