]> git.baikalelectronics.ru Git - kernel.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)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jun 2011 07:42:23 +0000 (07:42 +0000)
commit2171563f73feb6426fc7cbf4a6a12c1d16bc51b7
tree558ee3022e5bafa997c88612f414baaa4e628be7
parentbb2471f7870ed9003af286bc4138ff0dfbe44441
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