watchdog: f71808e_wdt: Fix WD_EN register read
authorIgor Pylypiv <igor.pylypiv@gmail.com>
Wed, 7 Mar 2018 07:47:25 +0000 (23:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:36:34 +0000 (09:36 +0200)
commit23a63d96e015d56fc69f527a012625c5b8f346e5
treea1dbf57b65c9987b56b9185c3b566f60d8936947
parent28fe0fba29f20d1301ae2183d424bcf6a46c0ca8
watchdog: f71808e_wdt: Fix WD_EN register read

commit 977f6f68331f94bb72ad84ee96b7b87ce737d89d upstream.

F71808FG_FLAG_WD_EN defines bit position, not a bitmask

Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/f71808e_wdt.c