aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2013-02-03 10:55:45 -0500
committerTakashi Iwai <tiwai@suse.de>2013-02-04 04:26:44 -0500
commit20608731f479d48be6bcb88e727f360ddf98ddaf (patch)
tree0d9ddfb2b8958e53e34bd4efea38b9490138ab08 /sound/drivers
parent8058e14259ddc8c1824387198fc53700ed4cccc9 (diff)
ALSA: hda - Fix default multichannel HDMI mapping regression
Commit d45e6889ee69456a4d5b1bbb32252f460cd48fa9 ("ALSA: hda - Provide the proper channel mapping for generic HDMI driver") added support for custom channel maps in the HDA HDMI driver. Due to a mistake in an 'if' condition the custom map is always used even when no such map has been set. This causes incorrect channel mapping for multichannel audio by default. Pass per_pin->chmap_set to hdmi_setup_channel_mapping() as a parameter so that it can use it for detecting if a custom map has been set instead of checking if map is NULL (which is never the case). Reported-by: Staffan Lindberg <pike@xbmc.org> Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Cc: stable@vger.kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions