Commit 7460db56 authored by Magnus Damm's avatar Magnus Damm Committed by Linus Torvalds

gpiolib: fix request related issue

Fix request-already-requested handling in gpio_request().
Signed-off-by: default avatarMagnus Damm <>
Acked-by: default avatarDavid Brownell <>
Cc: <>		[2.6.28.x]
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 7bcc1bb1
......@@ -789,6 +789,7 @@ int gpio_request(unsigned gpio, const char *label)
} else {
status = -EBUSY;
goto done;
if (chip->request) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment