aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <xobs@kosagi.com>2014-10-19 20:14:32 +0800
committerSean Cross <xobs@kosagi.com>2014-10-19 20:14:32 +0800
commit73a0667a7994b92d674a073bc38dc1e553f4dbbd (patch)
tree43b92dfd075f63659ee0fb5500e0c06ade945228
parent47bdc9c5758b6ea1ee3d53cf70bed8ddfd8a41f6 (diff)
downloadnovena-linux-73a0667a7994b92d674a073bc38dc1e553f4dbbd.tar.gz
novena-linux-73a0667a7994b92d674a073bc38dc1e553f4dbbd.tar.bz2
novena-linux-73a0667a7994b92d674a073bc38dc1e553f4dbbd.zip
drivers: drm: Try to start it6251 100x before failing
Signed-off-by: Sean Cross <xobs@kosagi.com>
-rw-r--r--drivers/gpu/drm/bridge/it6251.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/it6251.c b/drivers/gpu/drm/bridge/it6251.c
index 4600f544594..eec33cb08fb 100644
--- a/drivers/gpu/drm/bridge/it6251.c
+++ b/drivers/gpu/drm/bridge/it6251.c
@@ -188,7 +188,7 @@ static int it6251_power_up(struct i2c_client *client, struct it6251_bridge *priv
/* Sometimes it seems like multiple tries are needed */
dev_err(&client->dev, "Trying a bunch of times to enable device\n");
- for (i = 0; i < 10; i++) {
+ for (i = 0; i < 100; i++) {
vendor_id_lo = it6251_read(priv, IT6251_VENDOR_ID_LOW);
vendor_id_hi = it6251_read(priv, IT6251_VENDOR_ID_HIGH);
device_id_lo = it6251_read(priv, IT6251_DEVICE_ID_LOW);