From: Takashi Iwai Date: Mon, 7 Jan 2013 15:44:06 +0000 (+0100) Subject: ALSA: hda - Fix multi-io channel mode management X-Git-Tag: v3.9-rc1~129^2~70^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07a949be6eb1c9aab06adaadce72dbd27b7d9cb;p=pandora-kernel.git ALSA: hda - Fix multi-io channel mode management The multi-io channels can vary not only from 1 to 6 but also may vary from 6 to 8 or such. At the same time, there are more speaker pins available than the primary output pins. So, we need three variables to check: the minimum channel counts for primary outputs, the current channel counts for primary outputs, and the minimum channel counts for all outputs. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed