diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-05 18:46:07 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-06 14:58:58 -0500 |
commit | 9f640a6376e54fa9ae834c32cbe92cefeec970dc (patch) | |
tree | 84e02c5cd758f6d52d595414ccc162279a19037a /security/security.c | |
parent | 7280b51a29f8e6cc7d449d565182d1e1b6183907 (diff) | |
download | linux-9f640a6376e54fa9ae834c32cbe92cefeec970dc.tar.gz linux-9f640a6376e54fa9ae834c32cbe92cefeec970dc.tar.bz2 linux-9f640a6376e54fa9ae834c32cbe92cefeec970dc.zip |
ssb: extif: add methods for watchdog driver
The watchdog driver wants to set the watchdog timeout in ms and not in
ticks, add a method converting ms to ticks before setting the watchdog
register. Return the ticks or millisecond the timer was set to in case
the provided value was bigger than the max allowed value.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions