diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2013-02-03 17:55:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-02-04 10:26:44 +0100 |
commit | 20608731f479d48be6bcb88e727f360ddf98ddaf (patch) | |
tree | 0d9ddfb2b8958e53e34bd4efea38b9490138ab08 /fs/efs/file.c | |
parent | 8058e14259ddc8c1824387198fc53700ed4cccc9 (diff) | |
download | linux-3.10-20608731f479d48be6bcb88e727f360ddf98ddaf.tar.gz linux-3.10-20608731f479d48be6bcb88e727f360ddf98ddaf.tar.bz2 linux-3.10-20608731f479d48be6bcb88e727f360ddf98ddaf.zip |
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 'fs/efs/file.c')
0 files changed, 0 insertions, 0 deletions