Created
June 29, 2018 23:07
-
-
Save anarsoul/c5656bcc9688cd34a9d1bbc43e7d8305 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c | |
index cd4959cc71..817c5c97e6 100644 | |
--- a/drivers/video/bridge/video-bridge-uclass.c | |
+++ b/drivers/video/bridge/video-bridge-uclass.c | |
@@ -113,6 +113,10 @@ int video_bridge_set_active(struct udevice *dev, bool active) | |
if (ret) | |
return ret; | |
if (active) { | |
+ ret = dm_gpio_set_value(&uc_priv->reset, false); | |
+ if (ret) | |
+ return ret; | |
+ udelay(10); | |
ret = dm_gpio_set_value(&uc_priv->reset, true); | |
if (ret) | |
return ret; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment