]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mmc: core: Adjust some error messages for SD UHS-II cards
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Fri, 6 Jun 2025 11:01:19 +0000 (19:01 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jun 2025 10:38:02 +0000 (12:38 +0200)
Adjust some error messages to debug mode to avoid causing
misunderstanding it is an error.

Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 9a9f7e13952b ("mmc: core: Support UHS-II card control and access")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250606110121.96314-2-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd_uhs2.c

index 1c31d0dfa96152ddaaae134ccad54d4f6c9e16de..de17d1611290cf5cf99d1044c4fe81343208e600 100644 (file)
@@ -91,8 +91,8 @@ static int sd_uhs2_phy_init(struct mmc_host *host)
 
        err = host->ops->uhs2_control(host, UHS2_PHY_INIT);
        if (err) {
-               pr_err("%s: failed to initial phy for UHS-II!\n",
-                      mmc_hostname(host));
+               pr_debug("%s: failed to initial phy for UHS-II!\n",
+                        mmc_hostname(host));
        }
 
        return err;