]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3063bf26e5deb4eff9741e1b0e5e1d11a323ff1f
tree7e6ccb326f5c7e92d13177ebbda8ba7103f9e9b9
parent054dff77e096807b15341f50fd259adde173f4b9
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