Santosh Shilimkar 68a154fc53 ARM: 7681/1: hw_breakpoint: use warn_once to avoid spam from reset_ctrl_regs()
CPU debug features like hardware break, watchpoints can be used only
when the debug mode is enabled and available. Unfortunately on OMAP4
based devices, after a CPU power cycle, the debug feature gets disabled
which leads to a flood of messages coming from reset_ctrl_regs() which
gets called on every CPU_PM_EXIT with CPUidle enabled.

So make use of warn_once() so that system is usable.

Thanks to Will for pointers and Lokesh for the analysis of the issue.

Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-03-22 17:16:56 +00:00
..
2013-03-03 22:54:18 +00:00
2012-03-28 18:30:01 +01:00
2013-01-03 15:57:04 -08:00
2012-07-01 21:59:19 +08:00
2012-03-24 09:38:56 +00:00
2010-10-29 13:14:40 -05:00
2013-02-17 23:37:04 -05:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-12-24 09:36:38 -07:00
2013-01-23 13:29:09 -05:00