]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28b54ced87c962d6a2d1ae096f6cec05665bfabb
tree15f4aefc5dc3e8e412a59c8ef1c155bd87f7f375
parent8704a30b3ba78505cc4243006c59b56ad93a072c
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