mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
blackfin: gpio: Unreserve gpio in special_gpio_free()
In special_gpio_free(), call unreserve() rather than reserve() to release gpio. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
6a19cc9df0
commit
5460b8d469
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue