From nobody Fri Nov 26 14:23:58 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F09E418A275E; Fri, 26 Nov 2021 14:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0xnW0XHbz4cMG; Fri, 26 Nov 2021 14:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C57162328; Fri, 26 Nov 2021 14:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AQENwDG002393; Fri, 26 Nov 2021 14:23:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AQENwox002392; Fri, 26 Nov 2021 14:23:58 GMT (envelope-from git) Date: Fri, 26 Nov 2021 14:23:58 GMT Message-Id: <202111261423.1AQENwox002392@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andriy Gapon Subject: git: bc02583c4dd6 - main - twsi: remove redundant enabling of the controller List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bc02583c4dd65275da89838a723bd3514cb316cf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637936639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rIJw4zHZdjY1V8t8QbEV7LCl/BVBWFjy3iF8xC19DF8=; b=PIYnS7vdheDyCyOQOU8gMZZdYfDiXlg44TDy/aR1KG5bnEixR83EX5QGdMOUGPWJUUvNx+ fZMvqh1AbKMcazuCq8EU70/G+JcBENGKdeZXrPCi9xdd9vmI99PFwTsccefjuC1ycVSLfQ m6Au74qGJ6dcplMf386X06j6FTVPaQiqUwiKXY/IwJRENXspg+LUOG5OF38EdZTAUq9E8o mYA6gXxzR/GmAaYG5XKhzDxy95NjWZcx6D1/iaiFVHsJs9TEUFW4XyBuS9D5CqqFH+Y34P o4eMMnw/08XXeQPLPcKGzaNnysDT5UQxKE2cnHFZ2gboH9a3LLciSqM2EUGoYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637936639; a=rsa-sha256; cv=none; b=Zkztvta2Mfk7f8KgM6ohA2eY+O+UaNuxYbNaYGE/Y6lYrTztVBeKtv0JnyFQpKljvfeOkl 6j5xPpJKccceZEg3yOgIJe0K124vpT237oH9kkbwbugexx6Ee/bhLLJ3GShNnEiwrGlyuh Qw6bA4PE5JSurA5U6lpAliGPdGwe2hIvH/NYIt2iE4eUAmD2v8c68cUowhRRrkFG9Sa2bR fu1T+b8WtuXVgi3nXcx/o3BfPfdPnTq/SzFnVnHutycT7KU0Ccceo9ZdZGZ1WdpXmPrLsJ EfF31ksR6Cat28mAiIeQbq++PwhsSusFizme9U7t14LiEryxtoJX36MWPsjcDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=bc02583c4dd65275da89838a723bd3514cb316cf commit bc02583c4dd65275da89838a723bd3514cb316cf Author: Andriy Gapon AuthorDate: 2021-11-26 07:28:18 +0000 Commit: Andriy Gapon CommitDate: 2021-11-26 14:15:21 +0000 twsi: remove redundant enabling of the controller MFC after: 2 weeks --- sys/dev/iicbus/twsi/twsi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/iicbus/twsi/twsi.c b/sys/dev/iicbus/twsi/twsi.c index 552787874833..05f67786cad0 100644 --- a/sys/dev/iicbus/twsi/twsi.c +++ b/sys/dev/iicbus/twsi/twsi.c @@ -495,9 +495,6 @@ twsi_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) KASSERT(sc->transfer == 0, ("starting a transfer while another is active")); - sc->control_val = TWSI_CONTROL_TWSIEN | - TWSI_CONTROL_INTEN | TWSI_CONTROL_ACK; - TWSI_WRITE(sc, sc->reg_control, sc->control_val); debugf(sc, "transmitting %d messages\n", nmsgs); debugf(sc, "status=%x\n", TWSI_READ(sc, sc->reg_status)); sc->nmsgs = nmsgs;