U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: WeiHao Li <cn.liweihao@gmail.com>
To: u-boot@lists.denx.de
Cc: antonio.borneo@foss.st.com, mk7.kang@samsung.com,
	gregkh@linuxfoundation.org, semen.protsenko@linaro.org,
	mikhail.kshevetskiy@iopsys.eu, bb@ti.com,
	justin.swartz@risingedge.co.za, lukasz.czechowski@thaumatec.com,
	robh@kernel.org, tharvey@gateworks.com,
	clement.legoffic@foss.st.com, marek.vasut@mailbox.org,
	dinesh.maniyam@altera.com, patrice.chotard@foss.st.com,
	festevam@gmail.com, jerome.forissier@linaro.org,
	quentin.schulz@cherry.de, andrew.goodbody@linaro.org,
	sumit.garg@kernel.org, ag.dev.uboot@gmail.com,
	rfried.dev@gmail.com, joe.hershberger@ni.com,
	jh80.chung@samsung.com, peng.fan@nxp.com, seanga2@gmail.com,
	lukma@denx.de, kever.yang@rock-chips.com,
	philipp.tomsich@vrull.eu, sjg@chromium.org, trini@konsulko.com,
	WeiHao Li <cn.liweihao@gmail.com>, WeiHao Li <ieiao@outlook.com>
Subject: [PATCH 02/10] mmc: rockchip: fix clock get wrong index
Date: Thu,  7 Aug 2025 15:44:10 +0800	[thread overview]
Message-ID: <20250807074419.336752-3-cn.liweihao@gmail.com> (raw)
In-Reply-To: <20250807074419.336752-1-cn.liweihao@gmail.com>

Signed-off-by: WeiHao Li <ieiao@outlook.com>
---
 drivers/mmc/rockchip_dw_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
index 7a72abaa38..a3f001d7e7 100644
--- a/drivers/mmc/rockchip_dw_mmc.c
+++ b/drivers/mmc/rockchip_dw_mmc.c
@@ -132,7 +132,7 @@ static int rockchip_dwmmc_probe(struct udevice *dev)
 
 	ret = clk_get_by_phandle(dev, &dtplat->clocks[1], &priv->clk);
 #else
-	ret = clk_get_by_index(dev, 1, &priv->clk);
+	ret = clk_get_by_index(dev, 0, &priv->clk);
 #endif
 	if (ret < 0 && ret != -ENOSYS)
 		return log_msg_ret("clk", ret);
-- 
2.39.5


  parent reply	other threads:[~2025-08-07  8:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07  7:44 [PATCH 00/10] Add RK3368 YMD8_MB board support WeiHao Li
2025-08-07  7:44 ` [PATCH 01/10] clk: rockchip: rk3368: fix gmac clock error WeiHao Li
2025-08-07  7:44 ` WeiHao Li [this message]
2025-08-12 17:49   ` [PATCH 02/10] mmc: rockchip: fix clock get wrong index Jonas Karlman
2025-08-13  0:24     ` 李维豪
2025-08-07  7:44 ` [PATCH 03/10] net: rockchip: rk3368: add set_to_rmii WeiHao Li
2025-08-07  7:44 ` [PATCH 04/10] clk: rockchip: rk3368: Add bus clk get/set WeiHao Li
2025-08-07  7:44 ` [PATCH 05/10] clk: rockchip: rk3368: Adjust pll clk get WeiHao Li
2025-08-07  7:44 ` [PATCH 06/10] clk: rockchip: rk3368: Add vop clk get/set WeiHao Li
2025-08-07  7:44 ` [PATCH 07/10] video: rockchip: vop add bridge support WeiHao Li
2025-08-07  7:44 ` [PATCH 08/10] video: rockchip: add rk3368 vop support WeiHao Li
2025-08-07  7:44 ` [PATCH 09/10] video: panel: add rm72014 panel support WeiHao Li
2025-08-07  7:44 ` [PATCH 10/10] board: rockchip: add rk3368 ymd8_mb support WeiHao Li
2025-08-11 15:01   ` Quentin Schulz
2025-08-12  1:25     ` 李维豪
2025-08-12  8:11       ` Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250807074419.336752-3-cn.liweihao@gmail.com \
    --to=cn.liweihao@gmail.com \
    --cc=ag.dev.uboot@gmail.com \
    --cc=andrew.goodbody@linaro.org \
    --cc=antonio.borneo@foss.st.com \
    --cc=bb@ti.com \
    --cc=clement.legoffic@foss.st.com \
    --cc=dinesh.maniyam@altera.com \
    --cc=festevam@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ieiao@outlook.com \
    --cc=jerome.forissier@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=joe.hershberger@ni.com \
    --cc=justin.swartz@risingedge.co.za \
    --cc=kever.yang@rock-chips.com \
    --cc=lukasz.czechowski@thaumatec.com \
    --cc=lukma@denx.de \
    --cc=marek.vasut@mailbox.org \
    --cc=mikhail.kshevetskiy@iopsys.eu \
    --cc=mk7.kang@samsung.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=peng.fan@nxp.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@cherry.de \
    --cc=rfried.dev@gmail.com \
    --cc=robh@kernel.org \
    --cc=seanga2@gmail.com \
    --cc=semen.protsenko@linaro.org \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@kernel.org \
    --cc=tharvey@gateworks.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox