mirror of
https://gitee.com/openharmony/kernel_linux
synced 2024-12-13 09:48:23 +00:00
[ALSA] vxpocket - Register device pointer
Digigram VX Pocket driver Add snd_card_set_dev() to register the device pointer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
adf111e6ff
commit
5ba094dbf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user