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/9289827c7371
branches:  trunk
changeset: 379604:9289827c7371
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 cf2927a9ebda -r 9289827c7371 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 @@ rk_tsadc_attach(device_t parent, device_
                             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