]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: mtk-sd: change some dev_err into dev_dbg
authorFabien Parent <fparent@baylibre.com>
Thu, 15 Oct 2020 16:38:18 +0000 (18:38 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
dev_err has been used for debugging and a few dev_err message are
printed for normal code execution. Make them dev_dbg instead.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mtk-sd.c

index 30fe7a0aa200e0391f9519027704ca31cef288ee..4f9fa7d0ec3f7b3fb97a6c919438064b91431dd8 100644 (file)
@@ -1171,7 +1171,7 @@ skip_fall:
                        internal_delay |= (1 << i);
        }
 
-       dev_err(dev, "Final internal delay: 0x%x\n", internal_delay);
+       dev_dbg(dev, "Final internal delay: 0x%x\n", internal_delay);
 
        internal_delay_phase = get_best_delay(dev, host, internal_delay);
        clrsetbits_le32(tune_reg, MSDC_PAD_TUNE_CMDRRDLY_M,
@@ -1179,7 +1179,7 @@ skip_fall:
                        MSDC_PAD_TUNE_CMDRRDLY_S);
 
 skip_internal:
-       dev_err(dev, "Final cmd pad delay: %x\n", final_delay);
+       dev_dbg(dev, "Final cmd pad delay: %x\n", final_delay);
        return final_delay == 0xff ? -EIO : 0;
 }
 
@@ -1265,7 +1265,7 @@ skip_fall:
                                host->hs200_write_int_delay <<
                                MSDC_PAD_TUNE_DATWRDLY_S);
 
-       dev_err(dev, "Final data pad delay: %x\n", final_delay);
+       dev_dbg(dev, "Final data pad delay: %x\n", final_delay);
 
        return final_delay == 0xff ? -EIO : 0;
 }