This patch increases the initialization wait time in the samsung hdmi
audio driver to 3 seconds. The wait time was previously 5ms which did
not leave enough time for the hdmi video driver to debounce hotplug and
initialize the hardware.
BUG=chromium:239641
TEST=Tested on snow, hotplug transferred audio between device & monitor
Change-Id: I86f7526923d77e753d0a5546fdeafbe7ee11e1fe
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51118
Reviewed-by: Dylan Reid <dgreid@chromium.org>
snd_printdd("%s %s\n", __func__,
atomic_read(&ctx->plugged) ? "plugged" : "unplugged");
- /* should set audio regs after ip, phy got stable. 5ms suff */
+ /* Set audio regs after ip & phy get stable, 3s should suffice. */
queue_delayed_work(ctx->hpd_wq, &ctx->hotplug_work,
- msecs_to_jiffies(5));
+ msecs_to_jiffies(3000));
return IRQ_HANDLED;
}