Skip to content
Snippets Groups Projects
Commit 5460b8d4 authored by Axel Lin's avatar Axel Lin Committed by Sonic Zhang
Browse files

blackfin: gpio: Unreserve gpio in special_gpio_free()


In special_gpio_free(), call unreserve() rather than reserve() to release gpio.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
parent 6a19cc9d
No related branches found
No related tags found
No related merge requests found
......@@ -662,8 +662,8 @@ void special_gpio_free(unsigned gpio)
return;
}
reserve(special_gpio, gpio);
reserve(peri, gpio);
unreserve(special_gpio, gpio);
unreserve(peri, gpio);
set_label(gpio, "free");
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment