From nobody Sun Jul 03 22:15:15 2022 X-Original-To: dev-commits-src-main@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 9F3FE8A963A; Sun, 3 Jul 2022 22:15:15 +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 4LbjtC3sdvz4TvL; Sun, 3 Jul 2022 22:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656886515; 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=pyUECj2k6hLcgVXtFGMELiBN31mOzxnXbHprjRX9hlg=; b=GBcwaicI7BJ16LmKc9ISx6kJsGTellbAftonnMvhESHKJmNeEpnrXcNwa/bHsh2gKs0epI /noI3Y5f0RAJCs4PgMxZhkA2SY04ihqLdT7ZGdLPs1Qa3R/yHQBQqC9lGGrN8C63ZIYm/l mhHoHgewkn2NZDTe0YxuILmpozK7CKqSqTxqLyNmeHFrHydo/SJZtzPqWoy+0MUqFA/E/t 7kl0TlpXPSIeL1p9bHjjiXoq1UcIyGeP2HE7mtEy6bqQRR3AJnucPRYDebx1eSUjZNddBU UZjmNobl8PJI7r5KGSQhQjA4/mCvZ4Pj98ACUhg99iLlgAMopIIBvrGaGJLPtQ== 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 645D82CB36; Sun, 3 Jul 2022 22:15:15 +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 263MFF0l050529; Sun, 3 Jul 2022 22:15:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 263MFF3g050528; Sun, 3 Jul 2022 22:15:15 GMT (envelope-from git) Date: Sun, 3 Jul 2022 22:15:15 GMT Message-Id: <202207032215.263MFF3g050528@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 0084212bfdfb - main - dwc3: fix snps,dis-del-phy-power-chg-quirk List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 0084212bfdfbcd662f3e823636b40173e828509d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656886515; 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=pyUECj2k6hLcgVXtFGMELiBN31mOzxnXbHprjRX9hlg=; b=O9eglkdiHLlM/NuO2JKzb93JyxNsj4cLSzYjjeybyc9+qZh6uaiKKLE6PLEJVCXrBJN0Bq 5qJQPdxR/MjFYtDm8+F/p/Z2cTDqpntKabuQneqhx9Z+fz8mNHnhhd4FbUyks6LjshRB1R BOtBH+39eGg8J6HZEn9dGl9brJ6OMolMyQ8HPKIgDLd79KrWbsLb4ZsL5lI9VR5V8iLyjR sps9tTCtuYBTBp9lKsSAsWhmC3gPo/5oPX9AHN+jXSUikp1gIQc19dD3U9gCknAYbFUZDk f/JTlJFvveDrPlvZ/9xzJB6+au3k5ofXKRCRUWxqzjP2/merOV9QUTkToHRmDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656886515; a=rsa-sha256; cv=none; b=qtYKjNYnaicBMz5f0zdg2bI+k+yFm4u1nvOE4WLDFk1/xxvVK7iiltdFN1uRj7UwVqZSPU ZGJDoznEfzN3Xp0GiwDEnjbN7+bG5ZMknoNXTYmTlpStn2ENcYGCjGnl3cgdo3SfdoXC4L ru+raPiCTZTx2qpol0yDJ2Dt4NzpSmfVQ4UWmZ2bIZG/ajxj+wv3AfzP7wHNcR44uh3UZD qBNxIcpwktqPEg17aIKCxsb/XgEuTywimMJGGL9hCOAnG9LQJ+TfH/T0ps8cQ/J2pHDDC7 CrTqSvbYeuHJz/Hyn+eNt86o46Cj/wePUHBJ5/yrk0v0A0GCxkY/EIbJa0zg+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0084212bfdfbcd662f3e823636b40173e828509d commit 0084212bfdfbcd662f3e823636b40173e828509d Author: Bjoern A. Zeeb AuthorDate: 2022-07-02 18:17:13 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-07-03 22:13:28 +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). MFC after: 2 weeks Reviewed by: mw Differential Revision: https://reviews.freebsd.org/D35697 --- 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 a3c84b40101a..1ab4862fb97c 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);