Received: by mail.netbsd.org (Postfix, from userid 605) id 825C684E71; Mon, 23 Dec 2019 19:20:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0579B84D71 for ; Mon, 23 Dec 2019 19:20:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id oERRCU4wLwCK for ; Mon, 23 Dec 2019 19:20:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 94FC284CEF for ; Mon, 23 Dec 2019 19:20:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 898DFFA97; Mon, 23 Dec 2019 19:20:18 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 23 Dec 2019 19:20:18 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sys/dev/i2c To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191223192018.898DFFA97@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jason R Thorpe" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: thorpej Date: Mon Dec 23 19:20:18 UTC 2019 Modified Files: src/sys/dev/i2c: max77620.c Log Message: Actually, the local mutex is unnecesary; the i2c bus lock is held across all register r/m/w cycles, so we can just piggy back on that. (I misread the code previously.) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/max77620.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.