]> Git Repo - linux.git/commit
ALSA: hdspm - Fix midi port initialization
authorAdrian Knoth <[email protected]>
Mon, 28 Feb 2011 14:14:50 +0000 (15:14 +0100)
committerTakashi Iwai <[email protected]>
Mon, 28 Feb 2011 14:58:19 +0000 (15:58 +0100)
commit7c7102b7af1e5043ddb455f7fae307ed3b194074
tree2049ad72d1ecab7c22be0d882e1244e26579571e
parent5027f347ffe6f719365ab13127106b52721676ff
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/rme9652/hdspm.c
This page took 0.040659 seconds and 4 git commands to generate.