]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: gpio.c: fix a bad irq number
authorAlexandre Bailon <abailon@baylibre.com>
Mon, 2 Mar 2015 16:32:43 +0000 (17:32 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 2 Mar 2015 16:54:20 +0000 (08:54 -0800)
commitd1b20d72ae01a2846ed4cad7bfef0bea717ffb68
tree3486c23dfe125f602601fa029f3caa213ffea703
parent184ab534de842a1baf08a0d7f3621b26bcea44dc
greybus: gpio.c: fix a bad irq number

When it receive an interrupt, the function gb_gpio_request_recv doesn't
use the good gpio number to get the irq number. Then, the expected irq is never fired.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gpio.c