mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 05:21:16 +02: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:
@@ -662,8 +662,8 @@ void special_gpio_free(unsigned gpio)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
reserve(special_gpio, gpio);
|
unreserve(special_gpio, gpio);
|
||||||
reserve(peri, gpio);
|
unreserve(peri, gpio);
|
||||||
set_label(gpio, "free");
|
set_label(gpio, "free");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user