]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: set the PMU watchdog if available
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Dec 2012 17:46:04 +0000 (18:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 19:58:57 +0000 (14:58 -0500)
commit9f336698827ec4bd1848ceaa050f8d77aab1a621
tree195b0d5b03f6b0a78591e71eb397fcb0309dd972
parenta3d5d67b1ae765436c7b320a566bb844d2ae3d8a
ssb: set the PMU watchdog if available

Some ssb based devices have a PMU and the PMU watchdog register should
be used instead of the register in the chip common part, if the device
has a PMU. This patch also calculates the maximal number the watchdog
could be set to.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/driver_chipcommon.c