aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2014-09-23 15:42:11 +0800
committerWim Van Sebroeck <[email protected]>2014-10-20 20:50:28 +0200
commitdfa07141e7a792aecf98a8a99dd40df0bf91bce2 (patch)
treee968ed1a94cc71d8e97abe72914a2b4112ba0983 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parent191891c0378f44aec8e06e889a08d0b76fe6c5cb (diff)
watchdog: dw_wdt: initialise TOP_INIT in dw_wdt_set_top()
The TOP_INIT, ie bit 4-7 of the WDOG_TIMEOUT_RANGE_REG_OFFSET register may be zero, so the timeout period may be very short after initialization is done, thus the system may be reset soon after enabling. We fix this problem by also initialising the TOP_INIT when setting TOP in function dw_wdt_set_top(). Signed-off-by: Jisheng Zhang <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions