[PATCH v3 04/10] otm

yannick fertre yannick.fertre at st.com
Tue Mar 13 13:50:06 UTC 2018


---
 drivers/video/orisetech_otm8009a.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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);
-- 
1.9.1



More information about the dri-devel mailing list