commit | 7c7102b7af1e5043ddb455f7fae307ed3b194074 | [log] [tgz] |
---|---|---|
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | Mon Feb 28 15:14:50 2011 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Feb 28 15:58:19 2011 +0100 |
tree | 2049ad72d1ecab7c22be0d882e1244e26579571e | |
parent | 5027f347ffe6f719365ab13127106b52721676ff [diff] |
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 <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>