Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-19 14:33:00 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-19 14:33:16 +0200
commit599c4741b0da2bf154f9f81828227740ec70b369 (patch)
treeddbebe7e8ca4cb6aca5ada285bd3790688fd2c29
parentc184fdf0d3ee9f56fb90eac1f02eed771c993a1e (diff)
clk: rockchip: Don't yell about bad mmc phases when getting
(bsc#1051510). suse-commit: 66dee7e7f300492a79bcd21c0069a8ea8305486b
-rw-r--r--drivers/clk/rockchip/clk-mmc-phase.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/rockchip/clk-mmc-phase.c b/drivers/clk/rockchip/clk-mmc-phase.c
index fe7d9ed1d436..b0a18bc1a27f 100644
--- a/drivers/clk/rockchip/clk-mmc-phase.c
+++ b/drivers/clk/rockchip/clk-mmc-phase.c
@@ -59,10 +59,8 @@ static int rockchip_mmc_get_phase(struct clk_hw *hw)
u32 delay_num = 0;
/* See the comment for rockchip_mmc_set_phase below */
- if (!rate) {
- pr_err("%s: invalid clk rate\n", __func__);
+ if (!rate)
return -EINVAL;
- }
raw_value = readl(mmc_clock->reg) >> (mmc_clock->shift);