summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-05 18:46:05 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-12-06 14:58:57 -0500
commit7ffbffe37de3979d43c1105e38eb2918bf5d35fe (patch)
tree40fdf7ca496cc75111ba81fbdf211641b2b9ae8f /usr
parent26107309c08f8548a2e0aef0d0aabd64bc2d22c1 (diff)
downloadlinux-3.10-7ffbffe37de3979d43c1105e38eb2918bf5d35fe.tar.gz
linux-3.10-7ffbffe37de3979d43c1105e38eb2918bf5d35fe.tar.bz2
linux-3.10-7ffbffe37de3979d43c1105e38eb2918bf5d35fe.zip
ssb: add methods for watchdog driver
The watchdog driver wants to set the watchdog timeout in ms and not in ticks, which is depending on the SoC type and the clock. Calculate the number of ticks per millisecond and provide two functions for the watchdog driver. Also 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 'usr')
0 files changed, 0 insertions, 0 deletions