From nobody Mon Jul 18 09:50:09 2022 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 4LmcdZ2SMsz4WtC9; Mon, 18 Jul 2022 09:50:10 +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 4LmcdZ1Tn1z3D8l; Mon, 18 Jul 2022 09:50:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658137810; 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=rRUaaKqGXnwW5Ph82PjFBzEQpDZ6s23LQ9bskZ6yu0Q=; b=WxRtmY1CToM/lbnvnlXoogVpz035eK1U14ezyKbMCe7HLELvfA8sQkfjGq9WOcPyR5Zqld SLA2Fa0Zvj/ZpCuHpvl3eSAHVzKNZQIz7PfJrrE9MUzWKsBccpuu2qG65IbYN0orIVLXYk qp0kl7dj0zXCU2YLqw1BhywlPOQ3hXE+F9s+ZqAESsDin27495YrsJxXNFRgxBdMoY1dMh IKUHHSUiJPZ1fgPrOyPUXyl2Ph6JF3IqLlH2Zf0Dti6Z61N6ZKyFmaBkJmyj+jPbFWLxwP vAv9MYx7jWHw4PJ/woIz3M4hVOuFIbwgtKMK02LEVuW7a6fHiMyrzQBLgtRS2A== 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 4LmcdZ0ZhXzZZl; Mon, 18 Jul 2022 09:50:10 +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 26I9o9Cs034353; Mon, 18 Jul 2022 09:50:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26I9o9fI034350; Mon, 18 Jul 2022 09:50:09 GMT (envelope-from git) Date: Mon, 18 Jul 2022 09:50:09 GMT Message-Id: <202207180950.26I9o9fI034350@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 9ffd5ef82f7b - stable/13 - dwc3: fix snps,dis-del-phy-power-chg-quirk 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9ffd5ef82f7b64f3990a8c76d1682848d3ccedf1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658137810; 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=rRUaaKqGXnwW5Ph82PjFBzEQpDZ6s23LQ9bskZ6yu0Q=; b=QJquhiBh2dNfx4u5K2HnFJbsp6qBSs+HQY4oP/MmphR6I2oclsCO784hXwmKQqooBR6bW7 TuaEY/FcA3TS/pLmZpJSI2OsDSZAUmkskzT0391LvupdIY8kabORNjqbvCBS66qpMptezJ cmy9qQONlDNB7a+LC4KoEEA2q4GCgRF1adpFChdoU3SC2ujZOOXd+oGCXd/0wdFXguUU9V BYKelYSdBq4W5372E6iNAlAlw6vMnLuzw+qsLgEqpJi8FnDnWvzgrKRIUjpVzHZAcST4IF L1zxxYM29iIvIW8KAtmyE9RDzC7/sA4INhYIeUrQno6ifUDYgpiXJnRpXGO74g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658137810; a=rsa-sha256; cv=none; b=EFSB/CQArZ0gzkfQY5N8sWCOuCDarzknGtEKPrn++Z21vTfgwF+hkLALm1CV6a7940U8lc 1DvcoYIa6/+wBGD37ApTMsb/GJ+ajp6MW+uJHmAcikyU6iLuAMwO/JphBACU2JZFYbZuRS W99OtLlrPJe5m++jAdTaCxL5esFUTuxY00GMDW3V87IhsadpB86VQ/OIyeZvQSzCnbssCa aWqG0G+A8x74P6UIH5uMTxxUtE6QeXANoFPY33+qs13pnFcDO3l0QqJxK6HQK4SpbZy2hM sPr/GJsFKjR9cuwo5jSDU2I+bwp5lMCMMA+MDVGXB+Rrfn1R9SFOttbGSeJhzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=9ffd5ef82f7b64f3990a8c76d1682848d3ccedf1 commit 9ffd5ef82f7b64f3990a8c76d1682848d3ccedf1 Author: Bjoern A. Zeeb AuthorDate: 2022-07-02 18:17:13 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-07-18 01:00:20 +0000 dwc3: fix snps,dis-del-phy-power-chg-quirk If snps,dis-del-phy-power-chg-quirk is set, the register bit should be cleared not ored on (it's the "dis" version). Reviewed by: mw Differential Revision: https://reviews.freebsd.org/D35697 (cherry picked from commit 0084212bfdfbcd662f3e823636b40173e828509d) --- sys/dev/usb/controller/dwc3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/controller/dwc3.c b/sys/dev/usb/controller/dwc3.c index c77f4bbc0f67..1e90c5791cf0 100644 --- a/sys/dev/usb/controller/dwc3.c +++ b/sys/dev/usb/controller/dwc3.c @@ -264,7 +264,7 @@ snps_dwc3_do_quirks(struct snps_dwc3_softc *sc) reg = DWC3_READ(sc, DWC3_GUSB3PIPECTL0); if (device_has_property(sc->dev, "snps,dis-del-phy-power-chg-quirk")) - reg |= DWC3_GUSB3PIPECTL0_DELAYP1TRANS; + reg &= ~DWC3_GUSB3PIPECTL0_DELAYP1TRANS; if (device_has_property(sc->dev, "snps,dis_rxdet_inp3_quirk")) reg |= DWC3_GUSB3PIPECTL0_DISRXDETINP3; DWC3_WRITE(sc, DWC3_GUSB3PIPECTL0, reg);