bcma: set the pmu watchdog if available
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Dec 2012 17:46:00 +0000 (18:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 19:58:56 +0000 (14:58 -0500)
commitf6354c8cf9a3be15de441fad593ce53e63e9bf2a
treef104ed39606c8ae9e15cb1374f2381efd3f88cc7
parent56fd5f077223df1284a3501d1e3ba2e5b19d154a
bcma: set the pmu watchdog if available

Mostly all bcma based devices have a PMU and the PMU watchdog should be
used and not the old one in chip common. 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/bcma/driver_chipcommon.c