]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Handle MST pin jack detection at boot/resume
authorJeeja KP <jeeja.kp@intel.com>
Tue, 7 Feb 2017 13:39:46 +0000 (19:09 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:55:32 +0000 (18:55 +0000)
commit48987ff4a44b410140f51426c18bc893b404709f
treec5a6e0bd7cb50523036fbe16036e56eedcba4a2a
parent57e7458b2d21f25e0bc9bd904198d2321b84d9bc
ASoC: hdac_hdmi: Handle MST pin jack detection at boot/resume

The ELD notification can be received asynchronously from the graphics
side and this may happen just at the moment the sound driver is
initializing and notification will be missed. Similarly at system
resume, the notification is ignored as the  ELD and connection states
are updated in anyway at the end of the resume.
So check the jack status in boot/resume by querying the port presence
based on pin caps and report the jack status.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c