Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created June 29, 2018 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anarsoul/c5656bcc9688cd34a9d1bbc43e7d8305 to your computer and use it in GitHub Desktop.
Save anarsoul/c5656bcc9688cd34a9d1bbc43e7d8305 to your computer and use it in GitHub Desktop.
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