aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sp805_wdt.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-05-24 11:58:02 -0400
committerWim Van Sebroeck <wim@iguana.be>2012-05-30 01:56:17 -0400
commitbb644913a7d6dabcc4a1640817fa7b68938a56eb (patch)
treef49403e4616b7fb52db60613e2d974ffa17609c7 /drivers/watchdog/sp805_wdt.c
parent664a0d7862a6b10c709d4b4a3655fe2c59a20064 (diff)
watchdog: sch56xx-common: set correct bits in register()
WDOG_NO_WAY_OUT (3) and WDOG_ACTIVE (0) are the bit numbers, not a mask. So "data->wddev.status |= WDOG_ACTIVE;" was intended to set bit zero but it is a no-op. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sp805_wdt.c')
0 files changed, 0 insertions, 0 deletions