diff options
author | Pantelis Antoniou <panto@antoniou-consulting.com> | 2013-01-08 13:31:42 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-01-21 18:39:53 (GMT) |
commit | 034bf091b7a5f02e63409b0b5b6dad1101d70144 (patch) | |
tree | 4375d4508a914de89d134a4009fab73d777903f4 /arch/sparc/lib/GENpage.S | |
parent | e407ee099a1d3d80b63123491c81ca7de9d77ad9 (diff) | |
download | linux-fsl-qoriq-034bf091b7a5f02e63409b0b5b6dad1101d70144.tar.xz |
ARM: OMAP2+: DT node Timer iteration fix
The iterator correctly handles of_node_put() calls.
Remove it before continue'ing the loop.
Without this patch you get the following with
CONFIG_OF_DYNAMIC set:
ERROR: Bad of_node_put() on /ocp/timer@44e31000!
[<c001329c>] (unwind_backtrace+0x0/0xe0) from [<c03dd8f0>] (of_node_release+0x2c/0xa0)!
[<c03dd8f0>] (of_node_release+0x2c/0xa0) from [<c03ddea0>] (of_find_matching_node_and_match+0x78/0x90)!
[<c03ddea0>] (of_find_matching_node_and_match+0x78/0x90) from [<c06d349c>] (omap_get_timer_dt+0x78/0x90)!
[<c06d349c>] (omap_get_timer_dt+0x78/0x90) from [<c06d3664>] (omap_dm_timer_init_one.clone.2+0x34/0x2bc)!
[<c06d3664>] (omap_dm_timer_init_one.clone.2+0x34/0x2bc) from [<c06d3a2c>] (omap2_gptimer_clocksource_init.clone.4+0x24/0xa8)!
[<c06d3a2c>] (omap2_gptimer_clocksource_init.clone.4+0x24/0xa8) from [<c06cca58>] (time_init+0x20/0x30)!
[<c06cca58>] (time_init+0x20/0x30) from [<c06c9690>] (start_kernel+0x1a8/0x2fc)!
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Acked-by: Jon Hunter <jon-hunter@ti.com>
[tony@atomide.com: updated description per Jon]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/sparc/lib/GENpage.S')
0 files changed, 0 insertions, 0 deletions