Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Oops, missed one more instance of unneeded-I2C_F...
details: https://anonhg.NetBSD.org/src/rev/5f6177002194
branches: trunk
changeset: 1005864:5f6177002194
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Dec 23 15:51:50 2019 +0000
description:
Oops, missed one more instance of unneeded-I2C_F_POLL.
diffstat:
sys/dev/i2c/at24cxx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6fece0c26a23 -r 5f6177002194 sys/dev/i2c/at24cxx.c
--- a/sys/dev/i2c/at24cxx.c Mon Dec 23 15:51:47 2019 +0000
+++ b/sys/dev/i2c/at24cxx.c Mon Dec 23 15:51:50 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at24cxx.c,v 1.34 2019/12/23 02:39:47 thorpej Exp $ */
+/* $NetBSD: at24cxx.c,v 1.35 2019/12/23 15:51:50 thorpej Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.34 2019/12/23 02:39:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.35 2019/12/23 15:51:50 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -431,7 +431,7 @@
/* Read a single byte. */
if (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr,
- cmdbuf, cmdlen, rvp, 1, I2C_F_POLL)) {
+ cmdbuf, cmdlen, rvp, 1, 0)) {
iic_release_bus(tag, 0);
return (-1);
}
Home |
Main Index |
Thread Index |
Old Index