• Anssi Hannula's avatar
    ALSA: hda - hdmi: introduce patch_nvhdmi() · 3573ce4b
    Anssi Hannula authored
    (This is a backport of *part* of upstream 611885bc "ALSA: hda -
    hdmi: Disallow unsupported 2ch remapping on NVIDIA codecs" to stable
    3.10 through 3.12. Later stable already contain all of the original
    patch.)
    
    Mainline commit 611885bc "ALSA: hda - hdmi: Disallow unsupported 2ch
    remapping on NVIDIA codecs" introduces function patch_nvhdmi(). That
    function is edited by 75fae117 "ALSA: hda/hdmi - allow PIN_OUT to be
    dynamically enabled". In order to backport the PIN_OUT patch, I am first
    back-porting just the addition of function patch_nvhdmi(), so that the
    conflicts applying the PIN_OUT patch are simplified.
    
    Ideally, one might backport all of 611885bc. However, that commit
    doesn't apply to stable kernels, since it relies on a chain of other
    patches which implement new features.
    Signed-off-by: default avatarAnssi Hannula <anssi.hannula@iki.fi>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    [swarren, extracted just a small part of the original patch]
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    3573ce4b
patch_hdmi.c 76.2 KB