commit | bb644913a7d6dabcc4a1640817fa7b68938a56eb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 24 18:58:02 2012 +0300 |
committer | Wim Van Sebroeck <wim@iguana.be> | Wed May 30 07:56:17 2012 +0200 |
tree | f49403e4616b7fb52db60613e2d974ffa17609c7 | |
parent | 664a0d7862a6b10c709d4b4a3655fe2c59a20064 [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>