From: Adrian Knoth Date: Mon, 28 Feb 2011 14:14:50 +0000 (+0100) Subject: ALSA: hdspm - Fix midi port initialization X-Git-Tag: v2.6.39-rc1~424^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7102b7af1e5043ddb455f7fae307ed3b194074;p=pandora-kernel.git ALSA: hdspm - Fix midi port initialization Depending on the model and the presence of a TCO module, the number of midi ports varies. Some have 1 port (MADIface), some have 2 (default), with TCO, there are 3. Don't hardcode the number of midi ports to initialize. This patch also fixes a boot lockup on MADIface. [Coding-style fixes by tiwai] Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed