]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Give hotplug-detect (hpd) signal some time to show up
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Dec 2014 14:15:23 +0000 (15:15 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:38 +0000 (14:56 +0100)
commit40f1b87ce7f84a7ff74fd519dc2c75b333068815
tree82f8ffb8a94df6f7b3266553ac4b0171335fde15
parentf300068ddd85914dbec48d9ef2381b6f3ad92fc3
sunxi: video: Give hotplug-detect (hpd) signal some time to show up

When using a hdmi powered hdmi to vga dongle, and cold booting a sunxi
device, the hpd detect code would not see the dongle (until a warm reboot),
because the dongle needs some time to boot.

Testing has shown that this dongle needs 213ms to respond on a cold boot,
so wait up to 300ms for a hpd signal to show up before giving up.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/sunxi_display.c