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)
commit26107309c08f8548a2e0aef0d0aabd64bc2d22c1
tree195b0d5b03f6b0a78591e71eb397fcb0309dd972
parentf924e1e989b0bdaf6472668400d67a2142cb6b60
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