]> git.baikalelectronics.ru Git - kernel.git/commit
staging: tidspbridge: always compile dsp wdt code
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Wed, 22 Feb 2012 02:46:20 +0000 (20:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 20:05:38 +0000 (12:05 -0800)
commita7298c54907ab9e1e9bd5bbe6c3e86d9ba16c7e3
tree5ab3246326440dff7a14f5b2dc68f77d6d4d3060
parent4b6a37a11588bf7ed805a49c9b37bce1ede650cd
staging: tidspbridge: always compile dsp wdt code

In order to detect it at runtime, we need the code handling wdt
clock available at runtime to decide whether to enable or disable
based on the baseimage symbols. Default timeout has been set to 5
seconds.

Downside is that we will lose the option to set a custom timeout
for overflow, but than can be added (if needed) as part of debugfs.

Signed-off-by: Omar Ramirez <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/Kconfig
drivers/staging/tidspbridge/core/wdt.c
drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h