ASoC: hdac_hdmi: use audio component framework to read ELD
authorSandeep Tayal <sandeepx.tayal@intel.com>
Wed, 18 Jan 2017 16:04:41 +0000 (21:34 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jan 2017 13:36:38 +0000 (13:36 +0000)
commitf6fa11a35c548a516a41ce1669d0dbcdaabb267f
tree15f4aefc5dc3e8e412a59c8ef1c155bd87f7f375
parent079a248b0e4c24432dc4838cad333b2e759813e0
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.
and removed the unused 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