From nobody Fri Dec 03 07:26:30 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 2604818AD8BA; Fri, 3 Dec 2021 07:26:31 +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 4J54BZ4dQXz4r57; Fri, 3 Dec 2021 07:26:30 +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 5CB1E4BF3; Fri, 3 Dec 2021 07:26:30 +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 1B37QU2o082447; Fri, 3 Dec 2021 07:26:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B37QU45082446; Fri, 3 Dec 2021 07:26:30 GMT (envelope-from git) Date: Fri, 3 Dec 2021 07:26:30 GMT Message-Id: <202112030726.1B37QU45082446@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andriy Gapon Subject: git: c141cad41d94 - stable/13 - twsi: remove write-only softc field 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/stable/13 X-Git-Reftype: branch X-Git-Commit: c141cad41d949b344c177fc838f0828442b61a14 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638516390; 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=FPwzOtgZQmRWrujL5VxHmu21VPXu+kRLEX7E7tZ46h8=; b=yDVDEaeZj3bDSC8tTnuAwDBmBx5E/rAQNnO1abZlwb92EtAYPZ6U7Y/iJLJCZtkAJZGi6v iVRU68CFf2bTpLYvsHGF6GR9u7PGX/97LYi24284jxutONMgzAra9AG1SVeqbfOh4Nhxif 01DafyxkiYyZdMyip/+BJsHal/oFuNIICSL/CmQGn8hNQ7MZ0j7ooJsQ43yt84UmAla0tC lE3PVdvx+t36eC5chGmzhnbNt1kkytTAqFiEwjaR9SMkKWYSrdhaJUoiksrfyC+4FSrfpX rcpIio01QvASV+c7QOFyRNTI250shCDRqh0GCtPugtJBWSel1RP5LAHbdHaNkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638516390; a=rsa-sha256; cv=none; b=yAX32cIm2u5be7HzITMzFk0hnlCsjW4YErZfPoXY4eFV12BZCG2Owg3EvjrKaB64XLlyff fJEXsi9X4zHo5Kgpo//ZRE6Jna5cxymOLGlGg1P03+5W/BLgo58bdHf673KoMD7nn9YLnI zwsH3VigPSfZTFIzJRnYbMG8Q1ptesDHLiUlMMfxJavu7vjWAorGampdnUa+lSCce7MGX+ bRov4f+H8aMCsCSmQYkHmbmcESEKSoup4g31VC6r6g2Cc34Vg6hjb0/1C/pUniwc9Emdno bBkpENiI/sGcQJ4f7GAtfZzUHXHN7RwCBAoMopUgGfDXdNntPCzYRIrBkMnhtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=c141cad41d949b344c177fc838f0828442b61a14 commit c141cad41d949b344c177fc838f0828442b61a14 Author: Andriy Gapon AuthorDate: 2021-11-26 06:45:12 +0000 Commit: Andriy Gapon CommitDate: 2021-12-03 07:24:11 +0000 twsi: remove write-only softc field (cherry picked from commit f00bc54f62c455c7ed44afee736c3c64873a305a) --- sys/dev/iicbus/twsi/a10_twsi.c | 2 -- sys/dev/iicbus/twsi/twsi.h | 1 - 2 files changed, 3 deletions(-) diff --git a/sys/dev/iicbus/twsi/a10_twsi.c b/sys/dev/iicbus/twsi/a10_twsi.c index 17f551f27234..7554db0fbc94 100644 --- a/sys/dev/iicbus/twsi/a10_twsi.c +++ b/sys/dev/iicbus/twsi/a10_twsi.c @@ -121,8 +121,6 @@ a10_twsi_attach(device_t dev) sc->reg_baud_rate = TWI_CCR; sc->reg_soft_reset = TWI_SRST; - sc->need_ack = true; - if (ofw_bus_is_compatible(dev, "allwinner,sun6i-a31-i2c") || ofw_bus_is_compatible(dev, "allwinner,sun6i-a83t-i2c")) sc->iflag_w1c = true; diff --git a/sys/dev/iicbus/twsi/twsi.h b/sys/dev/iicbus/twsi/twsi.h index 631486fb3f0c..b10ce45be6f4 100644 --- a/sys/dev/iicbus/twsi/twsi.h +++ b/sys/dev/iicbus/twsi/twsi.h @@ -65,7 +65,6 @@ struct twsi_softc { int transfer; int error; uint32_t control_val; - bool need_ack; bool iflag_w1c; bus_size_t reg_data;