Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Fix off by one in axp803 dcdc2/3/4 ...
details: https://anonhg.NetBSD.org/src/rev/a8e835379f18
branches: trunk
changeset: 318963:a8e835379f18
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 10 23:57:31 2018 +0000
description:
Fix off by one in axp803 dcdc2/3/4 definitions
diffstat:
sys/dev/i2c/axppmic.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r fcf8bea9f633 -r a8e835379f18 sys/dev/i2c/axppmic.c
--- a/sys/dev/i2c/axppmic.c Thu May 10 15:00:36 2018 +0000
+++ b/sys/dev/i2c/axppmic.c Thu May 10 23:57:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: axppmic.c,v 1.5 2018/05/06 14:25:48 jmcneill Exp $ */
+/* $NetBSD: axppmic.c,v 1.6 2018/05/10 23:57:31 jmcneill Exp $ */
/*-
* Copyright (c) 2014-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: axppmic.c,v 1.5 2018/05/06 14:25:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: axppmic.c,v 1.6 2018/05/10 23:57:31 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -128,11 +128,11 @@
0x13, __BIT(3), 0x1d, __BITS(3,0)),
AXP_CTRL("dcdc1", 1600, 3400, 100,
0x10, __BIT(0), 0x20, __BITS(4,0)),
- AXP_CTRL2("dcdc2", 500, 1300, 10, 71, 20, 5,
+ AXP_CTRL2("dcdc2", 500, 1300, 10, 70, 20, 5,
0x10, __BIT(1), 0x21, __BITS(6,0)),
- AXP_CTRL2("dcdc3", 500, 1300, 10, 71, 20, 5,
+ AXP_CTRL2("dcdc3", 500, 1300, 10, 70, 20, 5,
0x10, __BIT(2), 0x22, __BITS(6,0)),
- AXP_CTRL2("dcdc4", 500, 1300, 10, 71, 20, 5,
+ AXP_CTRL2("dcdc4", 500, 1300, 10, 70, 20, 5,
0x10, __BIT(3), 0x23, __BITS(6,0)),
AXP_CTRL2("dcdc5", 800, 1840, 10, 33, 20, 36,
0x10, __BIT(4), 0x24, __BITS(6,0)),
Home |
Main Index |
Thread Index |
Old Index