[ALSA] au88x0 - Init before create components
authorAlan Horstmann <gineera@aspect135.co.uk>
Wed, 3 May 2006 15:07:29 +0000 (17:07 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:26 +0000 (21:33 +0200)
commit520290e43f9880da34e542185838816c6d79a340
treebf98333a95a459ea41dbe05b5d56785061ae3525
parenta59524faf3a2050e14a1c9038eb006ce96025394
[ALSA] au88x0 - Init before create components

Change the order in vortex_probe to set the card details before creating the
components, meaning for example that card->shortname is available when
registering the midi port.
I have also added extra to card->shortname, and a line to overwrite the midi
name following snd_mpu401_uart_new.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0.c
sound/pci/au88x0/au88x0_mpu401.c