Commit 5ba094db authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] vxpocket - Register device pointer

Digigram VX Pocket driver
Add snd_card_set_dev() to register the device pointer.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent adf111e6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment