On 21 June 2017 at 06:42, <patrice.chot...@st.com> wrote: > From: Patrice Chotard <patrice.chot...@st.com> > > Add reset_release_all() method which Assert/Free an > array of resets signal that has been previously successfully > requested by reset_get_by_*() > > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> > --- > v9: _ to avoid confusion, rename reset_assert_all() in reset_release_all() > as this function not only assert all resets but also free all of > them > _ add a check in reset_release_all() to verify if a reset has been > previously > requested before asserting and freeing it. > v8: _ none > v7: _ none > v6: _ none > v5: _ none > v4: _ add reset_assert_all() method as suggested by Marek Vasut > and Simon Glass > > drivers/reset/reset-uclass.c | 25 +++++++++++++++++++++++++ > include/reset.h | 18 ++++++++++++++++++ > 2 files changed, 43 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot