• Takashi Iwai's avatar
    ALSA: x86: Create ELD control element · 4aedb946
    Takashi Iwai authored
    Like other drivers, expose the ELD bytes via a control element so that
    user-space can parse it.
    
    For the simplicity, the code to register the ctl elements is
    refactored using an array.  Also, since ELD ctl read copies the bytes
    also during disconnection, clear the ELD bytes at hot-unplug, in order
    to avoid the leak of the previous bogus ELD.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    4aedb946
intel_hdmi_audio.c 55.9 KB