]> git.sur5r.net Git - u-boot/commit
reset: add reset_request()
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 09:57:05 +0000 (11:57 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:06 +0000 (23:34 +0200)
commit9bd5cdf6b62b249dc48a00a23b44dc7be547f9f9
tree90495c9ea494b341fe3f51ddd889843696379a1f
parentf56db163adf9f922020436e5a3f85ffbdbaed04f
reset: add reset_request()

This is needed in error path to assert previously deasserted
reset by using a saved reset_ctl reference.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/reset/reset-uclass.c
include/reset.h