power: regulator: stpmu1: add power off delay
authorChristophe Kerello <christophe.kerello@st.com>
Wed, 27 Jun 2018 09:59:47 +0000 (11:59 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:36 +0000 (16:31 -0400)
commit844f9bf1eea75ff1ac1b1552ec4cac32ba829abb
treea41a6ea207bba4ce6f2f4a5150468f1e71cd1792
parenta1b2faed7cbaf23d4af8a629c4db1bebb8e99d1b
power: regulator: stpmu1: add power off delay

This patch adds a delay when regulators are disabled.
This delay is set to 5 ms to cover all use cases.
The worst use case actually seen is during a SD card power cycle.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/power/regulator/stpmu1.c
include/power/stpmu1.h