Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/ingenic No need to check cold ourselves; iic_e...
details: https://anonhg.NetBSD.org/src/rev/fa45de23076b
branches: trunk
changeset: 847440:fa45de23076b
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Dec 23 02:16:43 2019 +0000
description:
No need to check cold ourselves; iic_exec() does it for us.
diffstat:
sys/arch/mips/ingenic/jziic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bbfbb82c1f9e -r fa45de23076b sys/arch/mips/ingenic/jziic.c
--- a/sys/arch/mips/ingenic/jziic.c Mon Dec 23 01:46:09 2019 +0000
+++ b/sys/arch/mips/ingenic/jziic.c Mon Dec 23 02:16:43 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jziic.c,v 1.6 2019/12/22 23:23:31 thorpej Exp $ */
+/* $NetBSD: jziic.c,v 1.7 2019/12/23 02:16:43 thorpej Exp $ */
/*-
* Copyright (c) 2015 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: jziic.c,v 1.6 2019/12/22 23:23:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jziic.c,v 1.7 2019/12/23 02:16:43 thorpej Exp $");
/*
* a preliminary driver for JZ4780's on-chip SMBus controllers
@@ -266,7 +266,7 @@
{
struct jziic_softc *sc = cookie;
- if (cold || (flags & I2C_F_POLL)) {
+ if (flags & I2C_F_POLL) {
return jziic_i2c_exec_poll(sc, op, addr, vcmd, cmdlen, vbuf,
buflen, flags);
} else {
Home |
Main Index |
Thread Index |
Old Index