From nobody Sat Apr 18 12:54:23 2026 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8068345740 for ; Sat, 28 Feb 2026 06:20:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259629; cv=none; b=MJIFVQXSkKZhLHZpvektLaSvLYtdxFrLrKHmkZ0JpKnlc5a2Z4Rv4peQtOqbnon5aehe882+khUWDZU+HPmJ8i5NG4NQ5UBQ7cobsSEADXeK6A9GwSaswsJmrGpyz0XM3IOFyBJ7wogz6trnKWfRxQSTyBMapysiWfrJbzALzP8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259629; c=relaxed/simple; bh=4V6ap+RTpnsrSNEK1rzXVP+ZZTFVjdidi3oepQXFslE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=qr9x7vlrFb6/O7aWZAPX4Nwu9ibTgtJJ6gUY/6FsfyTUcg1INbVk+NGcRxipEXNMrWTayAyv4KGOkHPjV9fYY1Y6vWJgX+U46k+WfEn0CxrEwgT20o44CxdwgYb3nJpyP+sVpgHZg7icuhefEBPQnr37huzYvYbJI5LwwfMIas4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=buJZIeh3; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="buJZIeh3" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20260228062025epoutp0173b1af822a13327c3c48083a347ba5d6~YVL1v_gks2549725497epoutp01A for ; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20260228062025epoutp0173b1af822a13327c3c48083a347ba5d6~YVL1v_gks2549725497epoutp01A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1772259626; bh=yTucolrMkBlXoqpoca+3rkjS9EKuhQIZMHXPgsJ+zNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=buJZIeh320Ji4bl95F3mgtb0xLf/eLoDlU11PGiIx/wJFeBIAt5RW6xhiNQyDGhWD P7oe3o6wVat6hvnSz3pz7aULQaengq6NHf4owLL/BVtPQoufO+J4iSZD+0I9i0Amwl dFWtIYev1el9hqZkWi5fFiadEBwqRKrc29eIcCGU= Received: from epsnrtp02.localdomain (unknown [182.195.42.154]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPS id 20260228062025epcas5p150626f458e0e71b5de9e09df76ab567c~YVL1QHhJJ2841428414epcas5p1z; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by epsnrtp02.localdomain (Postfix) with ESMTP id 4fNFRs2wFNz2SSKX; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20260228062024epcas5p4a9f901ea58ead972a352cb4546464c1c~YVL01WDDM1136911369epcas5p4s; Sat, 28 Feb 2026 06:20:24 +0000 (GMT) Received: from hzsscr.. (unknown [109.120.22.104]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260228062024epsmtip2bbe6147bf3f90b05c5048fbc56986349~YVL0Gi6dg1749217492epsmtip2R; Sat, 28 Feb 2026 06:20:24 +0000 (GMT) From: "ping.gao" To: ulf.hansson@linaro.org, jh80.chung@samsung.com Cc: shawn.lin@rock-chips.com, krzk@kernel.org, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kwangwon.min@samsung.com, hy50.seo@samsung.com, Ping Gao Subject: [PATCH v4 1/3] dt-bindings: mmc: synopsys-dw-mshc: relax clocks constraint Date: Sat, 28 Feb 2026 14:24:55 +0800 Message-ID: <20260228062457.3210099-2-ping.gao@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20260228062457.3210099-1-ping.gao@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20260228062024epcas5p4a9f901ea58ead972a352cb4546464c1c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20260228062024epcas5p4a9f901ea58ead972a352cb4546464c1c References: <20260228062457.3210099-1-ping.gao@samsung.com> From: Ping Gao In some SoC designs (e.g., certain Samsung Exynos platforms), the Bus Interface Unit (BIU) and Card Interface Unit (CIU) clocks are tied together or driven by a single clock source. In such hardware configurations, only one clock entry needs to be described in the device tree. Relax the clocks and clock-names constraints to allow a single clock while maintaining backward compatibility for existing dual-clock designs. Signed-off-by: Ping Gao --- .../devicetree/bindings/mmc/synopsys-dw-mshc.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/= Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml index a6292777e376..47dff8d4be27 100644 --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml @@ -24,16 +24,21 @@ properties: maxItems: 1 =20 clocks: - minItems: 2 + minItems: 1 maxItems: 2 description: Handle to "biu" and "ciu" clocks for the bus interface unit clock and the card interface unit clock. =20 clock-names: - items: - - const: biu - - const: ciu + minItems: 1 + maxItems: 2 + oneOf: + - items: + - const: biu + - const: ciu + - items: + - const: ciu =20 iommus: maxItems: 1 --=20 2.50.1 From nobody Sat Apr 18 12:54:23 2026 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 622FC346784 for ; Sat, 28 Feb 2026 06:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259630; cv=none; b=NyOkskceRU17NSP+GOOafakzJgc2EdCn5aBjRgxzdvZOA1LOmpfyajAcgBGZRBzy7xce/KZWrTkaW0whVP6BfAAXSPhu4dMUHZhu4rGf1wDUQGz1zU2GVNGbaWUEOlicIzvEw4ppVzhrE4PBtK9X1B2GYWljoMzU9/sJEUeJXzo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259630; c=relaxed/simple; bh=Mc/ukhBWOAhsNnX5Y5G66zMN5eMnSSSUgsc5IzoURhY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=eg92f7swygR/iVoBWo73v5K6fgmPKK3/qLc9PaiJzh+ugcy6Q6VS1iYgB/Q/D24ml0Y5e3XpznTT/JyjxuM1NwrNIzfS/zTCc0Ga6H4qHv5Ag8VXgz408kra09iZ1aD/jv3YrF4CmtCJC9Nx0qwE+92sf/hFrFlMQ+SppZblTag= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=oEOZjaX8; arc=none smtp.client-ip=203.254.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="oEOZjaX8" Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20260228062026epoutp04b12a6b70d8bd4c46ac9c8368ec736bab~YVL2nppYn2819928199epoutp04K for ; Sat, 28 Feb 2026 06:20:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20260228062026epoutp04b12a6b70d8bd4c46ac9c8368ec736bab~YVL2nppYn2819928199epoutp04K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1772259626; bh=Y7aeIzf7YhdhhUIQOXfrmLJoFXSw3G6nv5YZ41qAq2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oEOZjaX8QZLgQokHPTu/TJnJAfwAUmjBzD38XUX6y2bMUIEiNPauc8Ai3FmKSQKUl 5r9Q8IyYStdz9JWjmzAVzDdTmATT07aLvW756ow7hzJBVkw6/v/AL1kxt77saClg5H /zvDOuXn3ncMn83VTMS6rH2sghDSSNUR00I+e0vs= Received: from epsnrtp04.localdomain (unknown [182.195.42.156]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPS id 20260228062026epcas5p2f41a408da6e54a6aa8adbfe41327b7eb~YVL2PtDzq1169611696epcas5p2v; Sat, 28 Feb 2026 06:20:26 +0000 (GMT) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by epsnrtp04.localdomain (Postfix) with ESMTP id 4fNFRt3Nlkz6B9m9; Sat, 28 Feb 2026 06:20:26 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20260228062025epcas5p2404df86646abdbe307bd792d339dd350~YVL1n1E102344523445epcas5p2n; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) Received: from hzsscr.. (unknown [109.120.22.104]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260228062025epsmtip2d7252c306b207bd8913d19341d370c49~YVL07h2261538715387epsmtip2q; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) From: "ping.gao" To: ulf.hansson@linaro.org, jh80.chung@samsung.com Cc: shawn.lin@rock-chips.com, krzk@kernel.org, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kwangwon.min@samsung.com, hy50.seo@samsung.com, Ping Gao Subject: [PATCH v4 2/3] mmc: dw_mmc-k3: before set biu_clk rate, check biu_clk available or not Date: Sat, 28 Feb 2026 14:24:56 +0800 Message-ID: <20260228062457.3210099-3-ping.gao@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20260228062457.3210099-1-ping.gao@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20260228062025epcas5p2404df86646abdbe307bd792d339dd350 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20260228062025epcas5p2404df86646abdbe307bd792d339dd350 References: <20260228062457.3210099-1-ping.gao@samsung.com> From: Ping Gao If biu_clk is not available, no need to try to set and get rate of it, just bail out and print a warning Signed-off-by: Ping Gao --- drivers/mmc/host/dw_mmc-k3.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index ad6aa1aea549..ccb6bfe3e0ce 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++ b/drivers/mmc/host/dw_mmc-k3.c @@ -190,6 +190,11 @@ static void dw_mci_hi6220_set_ios(struct dw_mci *host,= struct mmc_ios *ios) int ret; unsigned int clock; =20 + if (IS_ERR_OR_NULL(host->biu_clk)) { + dev_err(host->dev, "biu_clk not available\n"); + return; + } + clock =3D (ios->clock <=3D 25000000) ? 25000000 : ios->clock; =20 ret =3D clk_set_rate(host->biu_clk, clock); --=20 2.50.1 From nobody Sat Apr 18 12:54:23 2026 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B27AB346FB5 for ; Sat, 28 Feb 2026 06:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259632; cv=none; b=VatXImVJnow4r710Sgu1UM54ZXT2+gp4E0ZZIRXaD7Ma8vHs9SaCp2xdAOCaWl5nzHDdgkNGNYw4fCSIriyaMRJhqTjKzcnw08dZ/3MxjWHFfShiTGuGrWpQKHd9hoEiMFsLHre6LVq5CsgufJoomDrUKznDOJ47IWoVdZBsfp0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772259632; c=relaxed/simple; bh=nB1il0sYdv3OYTLXoH1UkbpvCamedfC0unIAzz3vQdY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=qjdLlwHDm8exgwmS/QHsQ4HRVRRWe147v2DxL/hzWPQzEBEvXmYsAizjPxjyaROTqSy4fEv5CfWXOyscOEF5zAdCgxQD1dmVYdi2VFow5w1I8Cg/R6giO3Lpna5G12uiM+grIScnEUIJK+SvxbHO8DsITRIZ3bUDKQYtJZPrGFE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=sVZuXIyt; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="sVZuXIyt" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20260228062028epoutp0348c9bdb6aab85fbb69c6b5d52e4b9a58~YVL4TdL_50216102161epoutp03z for ; Sat, 28 Feb 2026 06:20:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20260228062028epoutp0348c9bdb6aab85fbb69c6b5d52e4b9a58~YVL4TdL_50216102161epoutp03z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1772259628; bh=+Sl8YfpTNqfjAMuMncatjZ6vJnJeyuHkz0bfA8is8t0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sVZuXIytul0u6SIuiMiNFVYVgFNdRFtk3gzs8WvPiihp3BgaRslS0J+cS2Be5Qbsm OjcBNt1DbWajUOL0SXOpm5CEKuEbrHEqaz2drUifjQJY6hyHugpoh7/5TodSJynx03 mRDDSrkcZQIUCVWshWKai1GGvNjPCyCKE5Ca/JKg= Received: from epsnrtp02.localdomain (unknown [182.195.42.154]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPS id 20260228062027epcas5p2af16c703526602ce051755f4be141dd5~YVL3GqUWD2344523445epcas5p22; Sat, 28 Feb 2026 06:20:27 +0000 (GMT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by epsnrtp02.localdomain (Postfix) with ESMTP id 4fNFRv2rGjz2SSKX; Sat, 28 Feb 2026 06:20:27 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20260228062026epcas5p2389be640a10d12934ce8696fbf6286c7~YVL2a4CAo1169611696epcas5p2z; Sat, 28 Feb 2026 06:20:26 +0000 (GMT) Received: from hzsscr.. (unknown [109.120.22.104]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260228062025epsmtip2d35db1c119d519a8b7e8044b8a6fab5a~YVL1uGOs41943819438epsmtip2h; Sat, 28 Feb 2026 06:20:25 +0000 (GMT) From: "ping.gao" To: ulf.hansson@linaro.org, jh80.chung@samsung.com Cc: shawn.lin@rock-chips.com, krzk@kernel.org, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kwangwon.min@samsung.com, hy50.seo@samsung.com, Ping Gao Subject: [PATCH v4 3/3] mmc: dw_mmc: Using devm_clk_get_optional() for biu_clk Date: Sat, 28 Feb 2026 14:24:57 +0800 Message-ID: <20260228062457.3210099-4-ping.gao@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20260228062457.3210099-1-ping.gao@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20260228062026epcas5p2389be640a10d12934ce8696fbf6286c7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20260228062026epcas5p2389be640a10d12934ce8696fbf6286c7 References: <20260228062457.3210099-1-ping.gao@samsung.com> From: Ping Gao By using devm_clk_get_optional, if clk is optional for device and not defin= e in dts it will return NULL, then clk_prepare_enable/clk_disable_unprepare for biu_= clk is safe to bail out internally. before biu_clk in dwmmc driver devm_clk_get fail, but it's ERR_PTR, not null,it will panic when call clk_prepare log is below: [7: binder:436_2: 4998] Unable to handle kernel paging request at virtual= address fffffffffffffffe [7: binder:436_2: 4998] Mem abort info: [7: binder:436_2: 4998] ESR =3D 0x0000000096000005 [7: binder:436_2: 4998] EC =3D 0x25: DABT (current EL), IL =3D 32 bits [7: binder:436_2: 4998] SET =3D 0, FnV =3D 0 [7: binder:436_2: 4998] EA =3D 0, S1PTW =3D 0 [7: binder:436_2: 4998] FSC =3D 0x05: level 1 translation fault ... [7: binder:436_2: 4998] Call trace: [7: binder:436_2: 4998] clk_prepare+0x10/0x24 [7: binder:436_2: 4998] dw_mci_runtime_resume+0x50/0x2d8 [dw_mmc_samsung= cd210e210975263404c28fc89778f369f8398f0c] [7: binder:436_2: 4998] dw_mci_exynos_runtime_resume+0x18/0x58 [dw_mmc_e= xynos_samsung 2735a594c7c9c9e8c65b0b87523fbf70dcaabfff] [7: binder:436_2: 4998] pm_generic_runtime_resume+0x40/0x58 [7: binder:436_2: 4998] pm_runtime_force_resume+0x9c/0x134 [7: binder:436_2: 4998] platform_pm_resume+0x40/0x8c [7: binder:436_2: 4998] dpm_run_callback+0x64/0x230 [7: binder:436_2: 4998] __device_resume+0x1d8/0x394 [7: binder:436_2: 4998] dpm_resume+0x110/0x2b8 [7: binder:436_2: 4998] dpm_resume_end+0x1c/0x38 [7: binder:436_2: 4998] suspend_devices_and_enter+0x828/0xab0 [7: binder:436_2: 4998] pm_suspend+0x334/0x618 [7: binder:436_2: 4998] state_store+0x104/0x144 [7: binder:436_2: 4998] kobj_attr_store+0x30/0x48 [7: binder:436_2: 4998] sysfs_kf_write+0x54/0x6c [7: binder:436_2: 4998] kernfs_fop_write_iter+0x104/0x1a8 [7: binder:436_2: 4998] vfs_write+0x24c/0x2f4 [7: binder:436_2: 4998] ksys_write+0x78/0xe8 [7: binder:436_2: 4998] __arm64_sys_write+0x1c/0x2c [7: binder:436_2: 4998] invoke_syscall+0x58/0x114 [7: binder:436_2: 4998] el0_svc_common+0xac/0xe0 [7: binder:436_2: 4998] do_el0_svc+0x1c/0x28 [7: binder:436_2: 4998] el0_svc+0x38/0x68 [7: binder:436_2: 4998] el0t_64_sync_handler+0x68/0xbc [7: binder:436_2: 4998] el0t_64_sync+0x1a8/0x1ac Signed-off-by: Ping Gao --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index c5db92bbb094..6bcc1e7233c0 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -3375,7 +3375,7 @@ int dw_mci_probe(struct dw_mci *host) "platform data not available\n"); } =20 - host->biu_clk =3D devm_clk_get(host->dev, "biu"); + host->biu_clk =3D devm_clk_get_optional(host->dev, "biu"); if (IS_ERR(host->biu_clk)) { dev_dbg(host->dev, "biu clock not available\n"); ret =3D PTR_ERR(host->biu_clk); --=20 2.50.1