]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/imx: Fix boot with non-DT systems
authorGuenter Roeck <linux@roeck-us.net>
Thu, 20 Aug 2015 10:27:21 +0000 (03:27 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 20 Aug 2015 15:22:56 +0000 (17:22 +0200)
commited4c1308acbc5cc790cf9d91c69bba68ed6525bb
tree7d6f51655d95535048e9b09aeacba5c8f09ee74d
parentb6df81f9a03c0c514491e5afbd1f726b0a0a479e
clocksource/imx: Fix boot with non-DT systems

Commit da2ab5f08534 ("ARM: imx: move timer resources into a structure")
moved initialization parameters into a data structure, but neglected to set
the irq field in that data structure for non-DT boots. This causes the system
to hang if a non-DT boot is attempted.

Fixes: da2ab5f08534 ("ARM: imx: move timer resources into a structure")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1440066441-13930-1-git-send-email-linux@roeck-us.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/timer-imx-gpt.c