ssb: extif: add check for max value before setting watchdog register
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Dec 2012 17:46:06 +0000 (18:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 19:58:57 +0000 (14:58 -0500)
commit7280b51a29f8e6cc7d449d565182d1e1b6183907
tree65237eab1130bbb286b98f3827c15346f7583533
parent7ffbffe37de3979d43c1105e38eb2918bf5d35fe
ssb: extif: add check for max value before setting watchdog register

Prevent the watchdog register on the extif core to be set to a too
high value.

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