]> git.kernelconcepts.de Git - karo-tx-linux.git/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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Jul 2011 03:31:24 +0000 (05:31 +0200)
commit72b6e8a847914a76cce6f0741a894872a55ec5f3
treef1775470778a7abb70cfd620a614e3357f8cb587
parent5c0a75906a5ee6152e0e604aef32788b683a1815
watchdog: mtx1-wdt: request gpio before using it

commit 9b19d40aa3ebaf1078779da10555da2ab8512422 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/watchdog/mtx-1_wdt.c