[U-Boot,v3,04/10] otm

Message ID 1520949014-21468-8-git-send-email-yannick.fertre@st.com
State Under Review
Delegated to: Anatolij Gustschin
Headers show
Series
  • Untitled series #33511
Related show

Commit Message

Yannick FERTRE March 13, 2018, 1:50 p.m.
---
 drivers/video/orisetech_otm8009a.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/drivers/video/orisetech_otm8009a.c b/drivers/video/orisetech_otm8009a.c
index 81b11d7..aa8139a 100644
--- a/drivers/video/orisetech_otm8009a.c
+++ b/drivers/video/orisetech_otm8009a.c
@@ -289,9 +289,11 @@  static int otm8009a_panel_probe(struct udevice *dev)
 	struct otm8009a_panel_priv *priv = dev_get_priv(dev);
 	int ret;
 
-	/* reset panel must be done before probe */
+	/* reset panel */
 	dm_gpio_set_value(&priv->reset, true);
 
+	mdelay(1);
+
 	if (IS_ENABLED(CONFIG_DM_REGULATOR) && priv->reg) {
 		dev_err(dev, "enable regulator '%s'\n", priv->reg->name);
 		ret = regulator_set_enable(priv->reg, true);