• Wu Fengguang's avatar
    ALSA: HDMI - fix ELD monitor name length · f5b2d0ef
    Wu Fengguang authored
    I noticed that the last character of the ELD monitor name is lost,
    this fixes the issue.
    
    This fix should be confirming to the HDA spec, and works together with
    the DRM part of the ELD patch.
    
    The HDA spec does not mention that Monitor_Name_String is an '\0'
    ending string, and it allows NML to be 1, which is only valid when MNL
    does not count the possible ending '\0'.
    Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    f5b2d0ef
hda_eld.c 16 KB