mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
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>
This commit is contained in:
parent
0e2de78ecd
commit
4bac65ca7d
@ -207,6 +207,9 @@ __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want)
|
|||||||
return true;
|
return true;
|
||||||
udelay(1);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user