]> Pileus Git - ~andy/linux/commit
ARM: OMAP2+: AM33xx: hwmod: Add missing sysc definition to wdt1 entry
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 1 Apr 2013 02:22:21 +0000 (20:22 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 1 Apr 2013 02:22:21 +0000 (20:22 -0600)
commit05cf03b6eb7f791ad70b1540df2c39b54d428258
tree66d0113e055d1c6f17bbcc82d13f07d4b4c116c3
parent07961ac7c0ee8b546658717034fe692fd12eefa9
ARM: OMAP2+: AM33xx: hwmod: Add missing sysc definition to wdt1 entry

This patch adds sysc definitions to the wdt1 hwmod entry, which in-turn
makes sure that sysc idle bit-fields are configured to valid state on
enable/disable callbacks.

With the recent submitted patch from Santosh Shilimkar,
"ARM: OMAP2+: hwmod: Don't call _init_mpu_rt_base if no sysc"
(commit: 4a98c2d89), it is required to add sysconf
information to each valid hwmod entry, else device will not be
come out from idle state properly and leads to below kernel
crash  -

[2.190237] Unhandled fault: external abort on non-linefetch (0x1028) at
0xf9e35034
[2.198325] Internal error: : 1028 [#1] SMP ARM
[2.203101] Modules linked in:
[2.206334] CPU: 0    Not tainted  (3.9.0-rc3-00059-gd114294#1)
[2.212679] PC is at omap_wdt_disable.clone.5+0xc/0x60
[2.218090] LR is at omap_wdt_probe+0x184/0x1fc

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Benoit Cousson <benoit.cousson@linaro.org>
Cc: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_33xx_data.c