]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] vxpocket - Register device pointer
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2005 17:27:31 +0000 (19:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 06:47:16 +0000 (08:47 +0200)
Digigram VX Pocket driver
Add snd_card_set_dev() to register the device pointer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/vx/vxpocket.c

index de5bb9c26b7794e272be08467f2309becf22c1c1..1e8f16b4c073a739f25223b409f910ad15853c0e 100644 (file)
@@ -297,6 +297,7 @@ static void vxpocket_config(dev_link_t *link)
        CS_CHECK(RequestConfiguration, pcmcia_request_configuration(link->handle, &link->conf));
 
        chip->dev = &handle_to_dev(link->handle);
+       snd_card_set_dev(chip->card, chip->dev);
 
        if (snd_vxpocket_assign_resources(chip, link->io.BasePort1, link->irq.AssignedIRQ) < 0)
                goto failed;