ASoC: hdac_hdmi: Don't fail in dai startup to make userland happy
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Wed, 17 Feb 2016 16:04:00 +0000 (21:34 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 15:56:53 +0000 (00:56 +0900)
commit54dfa1eaf4f8222811900922c67f539e60cc69c2
treeab192c33f37ec59471727de1ec10e6b40b7856e5
parent6793a3d70676c6f3d2ec0ce4e1e241617541702c
ASoC: hdac_hdmi: Don't fail in dai startup to make userland happy

In dai startup, driver was checking for ELD and would fail if no
monitor is connected. This causes userland like PA, CRAS to be
unhappy as they scan the device list at bootup.

So move the ELD check to hw_params and fail if valid ELD is not
found.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c