[COMMON] chub: modify PMUCAL_SHUB log message
authorSukwon Ryoo <sw.ryoo@samsung.com>
Fri, 29 Jun 2018 07:25:38 +0000 (16:25 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jun 2018 09:13:59 +0000 (18:13 +0900)
Change-Id: Ia6801b1a759e082691cdd3dfa63cea35e75501a5
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
drivers/soc/samsung/cal-if/pmucal_rae.c
drivers/soc/samsung/cal-if/pmucal_shub.c

index 9156e05796be6686fe1886e54d41ce3dde0a2899..40a8057400997fc4df5c0167452f89c3d9774c75 100644 (file)
@@ -425,24 +425,15 @@ int pmucal_rae_handle_shub_seq(struct pmucal_seq *seq, unsigned int seq_size)
 
        for (i = 0; i < seq_size; i++) {
                pmucal_rae_shub_seq_idx = i;
-               pr_info("%s: shub reset sequence %d pa: 0x%llx / va: 0x%llx\n",
-                       __func__, i,
-                       (unsigned long long int)seq[i].base_pa + seq[i].offset,
-                       (unsigned long long int)seq[i].base_va + seq[i].offset);
+
                switch (seq[i].access_type) {
                case PMUCAL_READ:
                        pmucal_rae_read(&seq[i]);
-                       pr_info("%s%s  %s = 0x%08x\n", PMUCAL_PREFIX, "raw_read", seq[i].sfr_name,
-                                       __raw_readl(seq[i].base_va + seq[i].offset));
                        break;
                case PMUCAL_WRITE:
                        reg = __raw_readl(seq[i].base_va + seq[i].offset);
                        reg = (reg & ~seq[i].mask) | seq[i].value;
-                       pr_info("%s%s  %s = 0x%08x\n", PMUCAL_PREFIX,
-                               "raw_write      ", seq[i].sfr_name, reg);
                        pmucal_rae_write(&seq[i]);
-                       pr_info("%s%s  %s = 0x%08x\n", PMUCAL_PREFIX, "raw_read(check)",
-                               seq[i].sfr_name, __raw_readl(seq[i].base_va + seq[i].offset));
                        break;
                case PMUCAL_COND_READ:
                        if (pmucal_rae_check_condition(&seq[i]))
@@ -456,9 +447,6 @@ int pmucal_rae_handle_shub_seq(struct pmucal_seq *seq, unsigned int seq_size)
                        ret = pmucal_rae_wait(&seq[i]);
                        if (ret)
                                return ret;
-                       pr_info("%s%s\t%s = 0x%08x\n", PMUCAL_PREFIX, "raw_read(wait)",
-                               seq[i].sfr_name,
-                               __raw_readl(seq[i].base_va + seq[i].offset) & seq[i].mask);
                        break;
                case PMUCAL_DELAY:
                        udelay(seq[i].value);
index 88a9ef4311c7af2938a2407e91907f4dfb7779cf..a5024fba7ef3fa60f4617c9cbba98715b8780a6d 100644 (file)
@@ -66,6 +66,7 @@ int pmucal_shub_reset_assert(void)
                return ret;
        }
 
+       pr_info("%s done\n", __func__);
        return 0;
 }
 
@@ -92,6 +93,8 @@ int pmucal_shub_reset_release_config(void)
                                PMUCAL_PREFIX, __func__);
                return ret;
        }
+
+       pr_info("%s doing\n", __func__);
        return 0;
 }
 int pmucal_shub_reset_release(void)
@@ -112,6 +115,7 @@ int pmucal_shub_reset_release(void)
                return ret;
        }
 
+       pr_info("%s done\n", __func__);
        return 0;
 
 }