diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-08-17 13:58:41 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-11-18 21:34:13 +0100 |
commit | ac461103c57ac46cd6778f1fd0352ff0e4a2d38e (patch) | |
tree | 720b6be69743d35460470f9eca953c0531755e02 /kernel/elfcore.c | |
parent | 8f526389599fc543b204c12a36de8345eb298085 (diff) | |
download | linux-ac461103c57ac46cd6778f1fd0352ff0e4a2d38e.tar.gz linux-ac461103c57ac46cd6778f1fd0352ff0e4a2d38e.tar.bz2 linux-ac461103c57ac46cd6778f1fd0352ff0e4a2d38e.zip |
watchdog: w83627hf: Enable watchdog device only if not already enabled
There is no need to enable the watchdog device if it is already enabled.
Also, when enabling the watchdog device, only set the watchdog device
enable bit and do not touch other bits; depending on the chip type,
those bits may enable other functionality.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'kernel/elfcore.c')
0 files changed, 0 insertions, 0 deletions