From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
u-boot/drivers/mmc/rockchip_dw_mmc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/u-boot/drivers/mmc/rockchip_dw_mmc.c b/u-boot/drivers/mmc/rockchip_dw_mmc.c
index 1287551..a78cb39 100644
--- a/u-boot/drivers/mmc/rockchip_dw_mmc.c
+++ b/u-boot/drivers/mmc/rockchip_dw_mmc.c
@@ -42,7 +42,7 @@
{
struct rockchip_dwmmc_priv *priv = dev_get_priv(dev);
- if (!priv || !&priv->clk)
+ if (!priv)
return 0;
if (!memcmp(dev->name, "dwmmc", strlen("dwmmc")))
--
Gitblit v1.6.2