Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153272566
D52309.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
459 B
Referenced Files
None
Subscribers
None
D52309.diff
View Options
diff --git a/sys/arm64/rockchip/rk_tsadc.c b/sys/arm64/rockchip/rk_tsadc.c
--- a/sys/arm64/rockchip/rk_tsadc.c
+++ b/sys/arm64/rockchip/rk_tsadc.c
@@ -484,7 +484,7 @@
WR4(sc, TSADC_INT_EN, val);
/* Shutdown temperature */
- val = tsadc_raw_to_temp(sc, sc->shutdown_temp);
+ val = tsadc_temp_to_raw(sc, sc->shutdown_temp);
WR4(sc, TSADC_COMP_SHUT(sensor->channel), val);
val = RD4(sc, TSADC_AUTO_CON);
val |= TSADC_AUTO_SRC_EN(sensor->channel);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 4:32 AM (11 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31888655
Default Alt Text
D52309.diff (459 B)
Attached To
Mode
D52309: rk_tsadc: use tsadc_temp_to_raw for shutdown_temp
Attached
Detach File
Event Timeline
Log In to Comment