summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/driver_chipcommon_pmu.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-05 18:46:01 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-12-06 14:58:56 -0500
commita22a3114a820ca3eadee6af53d90736e5ca68fa1 (patch)
tree7ef75f05f651badbe8f7ef4ad7fd985f0dd214b0 /drivers/ssb/driver_chipcommon_pmu.c
parentf6354c8cf9a3be15de441fad593ce53e63e9bf2a (diff)
downloadop-kernel-dev-a22a3114a820ca3eadee6af53d90736e5ca68fa1.zip
op-kernel-dev-a22a3114a820ca3eadee6af53d90736e5ca68fa1.tar.gz
bcma: 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 'drivers/ssb/driver_chipcommon_pmu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud