From 7c7102b7af1e5043ddb455f7fae307ed3b194074 Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Mon, 28 Feb 2011 15:14:50 +0100 Subject: [PATCH] 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-format-patch failed