ASoC: hdac_hdmi: use audio component framework to read ELD
authorSandeep Tayal <sandeepx.tayal@intel.com>
Tue, 20 Sep 2016 13:46:05 +0000 (19:16 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 24 Sep 2016 18:53:28 +0000 (19:53 +0100)
commitfe27f4e0545d3fc1b0518fafb4fe0460d757651d
tree248964908f30643fc0f4a40663e8e82f51f84211
parent1635c694124fe66933ae3db0d39dacb44c53f4b9
ASoC: hdac_hdmi: use audio component framework to read ELD

With codec read sometimes the pin_sense shows invalid monitor present
and eld_valid. Currently driver polls for few times to get the valid
ELD data.

To avoid the latency, Instead of reading ELD from codec, read it
directly from the display driver using audio component framework.

Removed the direct codec helper functions.

Signed-off-by: Sandeep Tayal <sandeepx.tayal@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c