ANDROID: adv7511: Add poweron delay to allow for EDID probing to work

For some reason on HiKey960 the edid probing doesn't work
properly unless we delay a bit at poweron.

Bug: 146450171
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Id8bcf9158d3060e065a6a9ec06bbe0323b73dc8e
This commit is contained in:
John Stultz 2017-11-14 15:37:34 -08:00 committed by Todd Kjos
parent 795028f7e7
commit 8adfa9950c

View File

@ -356,6 +356,9 @@ static void __adv7511_power_on(struct adv7511 *adv7511)
regmap_update_bits(adv7511->regmap, ADV7511_REG_POWER2,
ADV7511_REG_POWER2_HPD_SRC_MASK,
ADV7511_REG_POWER2_HPD_SRC_NONE);
/* HACK: If we don't delay here edid probing doesn't work properly */
msleep(200);
}
static void adv7511_power_on(struct adv7511 *adv7511)