]> 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)
commit2709375bad30fc80c3852521685783dd96cf4e57
treef941a411be10a3315fc6cbc9e72d7904df09f522
parentfb60aa7fb0d140a24aad06a35c8c2864f9bbb306
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