From nobody Mon May 16 09:45:30 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 454081AE2E16; Mon, 16 May 2022 09:45: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 4L1vWH0xsYz3r94; Mon, 16 May 2022 09:45:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652694331; 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=3kWgO6buUvxQqHWkwHDlHEgE+EVVmJ1e4s5oFL9XjRE=; b=gyFZdPNZaqyQKi381ChVjjIkWx6s35DMOvBb1LAsVtMkUwQDFFDPW5cshqQQEAJI1sE1C4 KL+Vx4g8/HA1qKj2DDlUyliGixsZV2RLIrrTe589MOCF+nD+jPahh667W3yH5V6YC85CJg tkmUjWYx/6oslf46UjbxfangxlK8BYbbZOcwFORXIyjTy4ThlJWx0HIaZbLIazphZflhPH XuKR36WJjXZnHzbo3eJ4/KdNUjJVhlK5UNLCicLAzfVBdWRQ3elc/kgOxZ5LXCuZt1gQtj i2zMRSzmDnscOyYHDb1x9DDHq1uWzT3iSAVCOtiGl38+ggUpPEUHZo2prvd+9w== 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 E462A1DA4A; Mon, 16 May 2022 09:45: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 24G9jUA0040511; Mon, 16 May 2022 09:45:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24G9jU71040510; Mon, 16 May 2022 09:45:30 GMT (envelope-from git) Date: Mon, 16 May 2022 09:45:30 GMT Message-Id: <202205160945.24G9jU71040510@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 1be298a0bf1d - stable/13 - dwmmc: Remove dwmmc_setup_bus call from start_cmd 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1be298a0bf1dd6f332f8651a55cba68ebd793ce1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652694331; 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=3kWgO6buUvxQqHWkwHDlHEgE+EVVmJ1e4s5oFL9XjRE=; b=gACZy3G6124seX4O3emtVcIXQwnuEVr91FpUiryXfIolXMzoqsPv6eh7l7ZAgGdoPXYh6d bbDBjkpkG9MkNKoActu87PR9qU3phgJ8YJ5T+siIJVfMYigQ8K7sYd/RWd1tqjtvuYtvtM ffRk3SqUrrNTeQqaX/Sh/I5ZzWgiDH94SBhNeNVMHPpzLG63SrINqNwmU5TeSsccthHmCJ xF+RraSIqQ/JWSrs7VNw7pMkotGgnFyLEhH3BN/YsILbpbK/P0SZ2O9TjsiRvC/xMvq1E2 vbxZudiCqmBm/vUDTZU+ZOpjRxm2Hld4G4o338ADdqSpRY0BX3S+Fri4yu13ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652694331; a=rsa-sha256; cv=none; b=bvkS0vgLziJfqVDiImY0o7AcEiXXnGAEQLTtMe6PwpNYvOh1vM6HfBfiJ+e/Ebw3/1HKg+ sT/UdXKkFygz94zInYgCc4yguNY3HO+WKwenkrMtDGljWaswzkFMKgYZhKJsgFQ6d5j2ax S/e9a6AJ6GwQ26JrKl2ZI0Ga71CPQX5dsYxY/3PZOOncFgIcXzSQMjwbeeoB2GWCYv6Dkw NPZFmk9aA4F+3o0xLZCVATjJfEFlp0ZWJjJXjiX1YvhHXqtDd9irZgFchFhf5L2Sax33z6 1UHnR7hiQbCuoS5Y/U8qJTVrx9RxMViVap47Io84yHyUilXhmk8lkT/mr8QfMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=1be298a0bf1dd6f332f8651a55cba68ebd793ce1 commit 1be298a0bf1dd6f332f8651a55cba68ebd793ce1 Author: Emmanuel Vadot AuthorDate: 2021-09-21 15:52:38 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-16 09:33:41 +0000 dwmmc: Remove dwmmc_setup_bus call from start_cmd There is no need to re-setup the bus before each commands. Tested-on: Rock64, RockPro64 Reported by: avg (cherry picked from commit 559f60214b7498ac068c5aa1f2bdecc1610bab53) --- sys/dev/mmc/host/dwmmc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c index 9910db2e50cb..8dfbaece127d 100644 --- a/sys/dev/mmc/host/dwmmc.c +++ b/sys/dev/mmc/host/dwmmc.c @@ -1109,9 +1109,6 @@ dwmmc_start_cmd(struct dwmmc_softc *sc, struct mmc_command *cmd) sc->curcmd = cmd; data = cmd->data; - if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_ROCKCHIP) - dwmmc_setup_bus(sc, sc->host.ios.clock); - #ifndef MMCCAM /* XXX Upper layers don't always set this */ cmd->mrq = sc->req;