]> git.itanic.dy.fi Git - linux-stable/commit
watchdog: mtx1-wdt: request gpio before using it
authorFlorian Fainelli <florian@openwrt.org>
Wed, 15 Jun 2011 17:15:23 +0000 (19:15 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jun 2011 07:42:23 +0000 (07:42 +0000)
commit9b19d40aa3ebaf1078779da10555da2ab8512422
tree558ee3022e5bafa997c88612f414baaa4e628be7
parent076bad7c4d2c51d9484f0ac60d68838139d2bf72
watchdog: mtx1-wdt: request gpio before using it

Otherwise, the gpiolib autorequest feature will produce a WARN_ON():

WARNING: at drivers/gpio/gpiolib.c:101 0x8020ec6c()
autorequest GPIO-215
[...]

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@kernel.org>
drivers/watchdog/mtx-1_wdt.c