Skip to content

Commit

Permalink
[ALSA] vxpocket - Register device pointer
Browse files Browse the repository at this point in the history
Digigram VX Pocket driver
Add snd_card_set_dev() to register the device pointer.

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai authored and Jaroslav Kysela committed Aug 30, 2005
1 parent adf111e commit 5ba094d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pcmcia/vx/vxpocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ba094d

Please sign in to comment.