]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4cb5a7e5f73cbf1b1baec8a276149f72936b552
treeab192c33f37ec59471727de1ec10e6b40b7856e5
parentf33113b18e8d59a41113556f7b2613fb2471a49f
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