Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/rockchip fix comment to talk about correct unit...
details: https://anonhg.NetBSD.org/src/rev/6a982fb0476c
branches: trunk
changeset: 1021635:6a982fb0476c
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jun 12 00:04:46 2021 +0000
description:
fix comment to talk about correct units (kelvin, not seconds).
diffstat:
sys/arch/arm/rockchip/rk_tsadc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 962ea464e4fb -r 6a982fb0476c sys/arch/arm/rockchip/rk_tsadc.c
--- a/sys/arch/arm/rockchip/rk_tsadc.c Fri Jun 11 23:41:47 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_tsadc.c Sat Jun 12 00:04:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_tsadc.c,v 1.12 2021/01/27 03:10:19 thorpej Exp $ */
+/* $NetBSD: rk_tsadc.c,v 1.13 2021/06/12 00:04:46 mrg Exp $ */
/*
* Copyright (c) 2019 Matthew R. Green
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_tsadc.c,v 1.12 2021/01/27 03:10:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_tsadc.c,v 1.13 2021/06/12 00:04:46 mrg Exp $");
/*
* Driver for the TSADC temperature sensor monitor in RK3328 and RK3399.
@@ -449,7 +449,7 @@
TSHUT_DEF_TEMP);
tshut_temp = TSHUT_DEF_TEMP;
}
- tshut_temp *= 1000; /* convert fdt ms -> us */
+ tshut_temp *= 1000; /* convert fdt mK -> uK */
memcpy(sc->sc_sensors, rk_tsadc_sensors, sizeof(sc->sc_sensors));
for (unsigned n = 0; n < sc->sc_rd->rd_num_sensors; n++) {
Home |
Main Index |
Thread Index |
Old Index