diff options
author | Alex Elder <elder@linaro.org> | 2014-04-22 01:11:37 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-04-30 22:51:29 +0400 |
commit | 4bac65ca7d86b7e219138706e9f687753ccbfee9 (patch) | |
tree | 8dcedd6048a1dd6f20d07ddeb6a781f4d0fd2002 /drivers/clk/bcm | |
parent | 0e2de78ecdc842218a2b6c422bb4a8ff4d85d11f (diff) | |
download | linux-4bac65ca7d86b7e219138706e9f687753ccbfee9.tar.xz |
clk: bcm281xx: warn if ccu_wait_bit() fails
Don't let a failure of ccu_wait_bit() go unnoticed.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/bcm')
-rw-r--r-- | drivers/clk/bcm/clk-kona.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c index db11a87449f2..4b4e35aeb778 100644 --- a/drivers/clk/bcm/clk-kona.c +++ b/drivers/clk/bcm/clk-kona.c @@ -207,6 +207,9 @@ __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) return true; udelay(1); } + pr_warn("%s: %s/0x%04x bit %u was never %s\n", __func__, + ccu->name, reg_offset, bit, want ? "set" : "clear"); + return false; } |