]> 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)
commitfb60aa7fb0d140a24aad06a35c8c2864f9bbb306
tree5ab3246326440dff7a14f5b2dc68f77d6d4d3060
parent4ec2f10f1e604d75d16ea6c0e04f81265b30d2b0
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