]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-ds1374.c: add watchdog support
authorSøren Andersen <san@rosetechnology.dk>
Wed, 10 Dec 2014 23:53:54 +0000 (15:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:15 +0000 (17:41 -0800)
commitcdbfb5bf6d40b1ad18462829284fce08739f37b7
tree526c5420d8d24cae8e8dbc89da52bd76ceb096dc
parentc869006d0eeea63b14dbcc89dd40b0778e8ca7f7
drivers/rtc/rtc-ds1374.c: add watchdog support

Add support for the watchdog functionality of the DS1374 rtc.  Based on
the m41t80 watchdog functionality Note: watchdog uses the same registers
as alarm.

[akpm@linux-foundation.org: don't forget mutex_unlock() in ds1374_wdt_open() error path]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Soeren Andersen <san@rosetechnology.dk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1374.c