watchdog: Intel SCU Watchdog Timer Driver for Moorestown and Medfield platforms.
commit57539c1cf9f146ab9988a350dbc2d7e69a8a5c30
authorDonald Johnson <donald.k.johnson@intel.com>
Wed, 2 Feb 2011 16:20:16 +0000 (2 16:20 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 15 Mar 2011 16:02:06 +0000 (15 16:02 +0000)
tree5a9201718926afdac1bce6a179ec7f1c8a9428ff
parent742e4b630895d751812b0682750db76c8072bf37
watchdog: Intel SCU Watchdog Timer Driver for Moorestown and Medfield platforms.

This submission includes:
  - Fix to intel_scu_write() to start watchdog timer the on the
    first write, and refresh on subsequent writes.
    This enables Open, write, write, ... usage model.
  - Moves boot parameter checks from intel_scu_open() to
    intel_scu_watchdog_init(), so driver init will fail if these
    parameters are out of bounds.
  - Adds check for whether process waiting in wait_event_interruptible()
    received a signal while it was waiting.
  - Other small error handling changes.

Removed the read() method for now as that wass a non-standard behaviour.

Signed-off-by: Donald Johnson <donald.k.johnson@intel.com>
Signed-off-by: Shuduo Sang <shuduo.sang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/intel_scu_watchdog.c [new file with mode: 0644]
drivers/watchdog/intel_scu_watchdog.h [new file with mode: 0644]