Commit fac44ee5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] pd-alsa: fix compilation breakage by commit da35de64

commit da35de64 broke compilation, as it reverted the name of the
usb card free function.

Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent da35de64
...@@ -306,7 +306,7 @@ int poseidon_audio_init(struct poseidon *p) ...@@ -306,7 +306,7 @@ int poseidon_audio_init(struct poseidon *p)
ret = snd_pcm_new(card, "poseidon audio", 0, 0, 1, &pcm); ret = snd_pcm_new(card, "poseidon audio", 0, 0, 1, &pcm);
if (ret < 0) { if (ret < 0) {
snd_free_card(card); snd_card_free(card);
return ret; return ret;
} }
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops); snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops);
......
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