Commit 5e75deab authored by Cheng-Yi Chiang's avatar Cheng-Yi Chiang Committed by Todd Kjos
Browse files

UPSTREAM: ASoC: hdmi-codec: Get ELD in before reporting plugged event



In plugged callback, ELD should be updated from display driver so that
user space can query information from ELD immediately after receiving jack
plugged event.

When jack is unplugged, clear ELD buffer so that user space does not get
obsolete information of unplugged HDMI.

Bug: 239396464
Change-Id: I2245de6e6f7dbc64863267db864dafdd3af95747
Signed-off-by: default avatarCheng-Yi Chiang <cychiang@chromium.org>
Link: https://lore.kernel.org/r/20201118043852.1338877-1-cychiang@chromium.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 25ce4f2b)
parent d6207c39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment