summary refs log tree commit diff
path: root/Documentation/locking
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2015-12-10 19:03:45 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-04-15 17:30:07 -0700
commitd5630b7a557aff4d107e5af2e73fb91ed707f442 (patch)
tree3909f5921aff8cc375ea681f1a69d4ae43c06239 /Documentation/locking
parent3db5ca27c80c15d20d0f1152dc34a5bcfa432ae6 (diff)
downloadlinux-d5630b7a557aff4d107e5af2e73fb91ed707f442.tar.gz
clk: ti: dra7: fix kernel boot with arg 'clocksource=gp_timer'
The OMAP Platform code provides possibility to select GP Timer as
default clocksource instead of counter_32K by using bootcmd parameter
'clocksource', but the system will crash during early boot when this
option is used on dra7 or omap5 platforms, because it will hit BUG()
statement:

 omap2_gptimer_clocksource_init
  ->BUG_ON(res);

This happens because clk_dev alias "sys_clkin_ck" is not registered.
Hence, fix it by adding missing "sys_clkin_ck" clk_dev aliases
definitions for omap5 and dra7.

Acked-by: Tero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Documentation/locking')
0 files changed, 0 insertions, 0 deletions