]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf04ef0b5acfde8f3ef3b54ddd4164b1d62a7ec90
treebf98333a95a459ea41dbe05b5d56785061ae3525
parent97eca7a452b99c24c0bc88b3a4828da27ea59c4f
[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