ALSA: HDMI - Fix channel_allocation array wrong order
authorWang Xingchao <xingchao.wang@intel.com>
Thu, 6 Sep 2012 02:02:36 +0000 (10:02 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Sep 2012 06:50:31 +0000 (08:50 +0200)
commit72357c78b75d39ee9e8d9fb4308957d9525aa674
tree7e6ccb326f5c7e92d13177ebbda8ba7103f9e9b9
parent14e42917216ab0859827c2d8024df45a917301b4
ALSA: HDMI - Fix channel_allocation array wrong order

The array channel_allocations[] is an ordered list, add function to get
correct order by ca_index.

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c