mmc: Did not change the actual module funciton, only to standardized printed information
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / core / mmc.c
index 55ef827c41eed6e497a3b480c84fd6886b43e784..f0216b8743e08ee6aa6d6972e33a9577e9d55953 100755 (executable)
@@ -571,7 +571,7 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
        if (err)
        {
 #if defined(CONFIG_SDMMC_RK29) && !defined(CONFIG_SDMMC_RK29_OLD)
-           printk("%s..%d..  ====*Identify the card as MMC , but OCR error, so fail to initialize.===xbw[%s]===\n",\
+           printk(KERN_INFO "%s..%d..  ====*Identify the card as MMC , but OCR error, so fail to initialize.[%s]\n",\
                __FUNCTION__, __LINE__, mmc_hostname(host));
 #endif
                goto err;
@@ -1044,7 +1044,7 @@ int mmc_attach_mmc(struct mmc_host *host)
        if (err)
                return 0xFF;//return err; Modifyed by xbw at 2011-11-17
                
-    printk("\n%s..%d..  ===== Begin to identify card as MMC-card ===xbw[%s]===\n", \
+    printk(KERN_INFO "\n%s..%d..  ===== Begin to identify card as MMC-card [%s]\n", \
         __FUNCTION__, __LINE__, mmc_hostname(host));
 #else
     if (err)
@@ -1104,7 +1104,7 @@ Retry_add:
            //retry add the card; Added by xbw
         if((--retry_times >= 0))
         {        
-            printk("\n%s..%s..%d   ****error in add partition, so retry.  ===xbw[%s]===\n",__FUNCTION__,__FILE__,__LINE__, mmc_hostname(host));   
+            printk(KERN_ERR "\n%s..%s..%d   ****error in add partition, so retry.  [%s]\n",__FUNCTION__,__FILE__,__LINE__, mmc_hostname(host));   
             /* sleep some time */
             set_current_state(TASK_INTERRUPTIBLE);
             schedule_timeout(HZ/2);