]> git.baikalelectronics.ru Git - kernel.git/commit
staging: tidspbridge: detect wdt3 feature at runtime
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Wed, 22 Feb 2012 02:46:21 +0000 (20:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 20:05:38 +0000 (12:05 -0800)
commit49c95799f64d0a134ce1518c7c1189b413711282
treef941a411be10a3315fc6cbc9e72d7904df09f522
parenta7298c54907ab9e1e9bd5bbe6c3e86d9ba16c7e3
staging: tidspbridge: detect wdt3 feature at runtime

In order to detect WDT feature on the dsp code, we need to
find the symbol used to enable it inside the baseimage.

This should fix the warning comming from L3 driver:

    WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:161 omap3_l3_app_irq...
    In-band Error seen by IVA_SS  at address 0
    ...

That occurs because the dsp tries to access wdt3 registers when the clock
for those registers is not enabled.

Reported-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/core/tiomap3430.c