tree 1d832ea365ba32f16c299894f7db20e4fb354db5
parent adf111e6ff1674b81cae3ff7cdd5a5d1edf003f0
author Takashi Iwai <[EMAIL PROTECTED]> Tue, 23 Aug 2005 19:27:31 +0200
committer Jaroslav Kysela <[EMAIL PROTECTED]> Tue, 30 Aug 2005 08:47:16 +0200

[ALSA] vxpocket - Register device pointer

Digigram VX Pocket driver
Add snd_card_set_dev() to register the device pointer.

Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>

 sound/pcmcia/vx/vxpocket.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -297,6 +297,7 @@ static void vxpocket_config(dev_link_t *
        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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to