ALSA: hda/hdmi: Move ELD parse and jack reporting into update_eld()
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Feb 2020 16:28:04 +0000 (17:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:24:11 +0000 (08:24 +0100)
commitadf615a605017089c8948f393087080e1b61b114
treec9dd96f77ef56e31c25b639e715132ecee295dd7
parentae47e2ec5b4504cd91968e97ce2dab4ccd346fb6
ALSA: hda/hdmi: Move ELD parse and jack reporting into update_eld()

This is a final step of the cleanup series: move the HDMI ELD parser
call into update_eld() function so that we can unify the calls.
The ELD validity check is unified in update_eld(), too.

Along with it, the repoll scheduling is moved to update_eld() as well,
where sync_eld_via_acomp() just passes 0 for skipping it.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Nikhil Mahale <nmahale@nvidia.com>
Link: https://lore.kernel.org/r/20200206162804.4734-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c