summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/tlg2300
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-09-23 16:42:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-23 16:51:57 -0300
commitfac44ee564a54db020ad384e0de94b5d8be3c6b5 (patch)
tree8b57406107c1af58ca6a8ef175f1c8a6a79f84ba /drivers/media/usb/tlg2300
parentda35de640a0e9c805aba70439f524234890b96c5 (diff)
downloadlinux-fac44ee564a54db020ad384e0de94b5d8be3c6b5.tar.bz2
[media] pd-alsa: fix compilation breakage by commit da35de640
commit da35de640 broke compilation, as it reverted the name of the usb card free function. Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/tlg2300')
-rw-r--r--drivers/media/usb/tlg2300/pd-alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/tlg2300/pd-alsa.c b/drivers/media/usb/tlg2300/pd-alsa.c
index 0c778695e2c3..3f3e141f70fb 100644
--- a/drivers/media/usb/tlg2300/pd-alsa.c
+++ b/drivers/media/usb/tlg2300/pd-alsa.c
@@ -306,7 +306,7 @@ int poseidon_audio_init(struct poseidon *p)
ret = snd_pcm_new(card, "poseidon audio", 0, 0, 1, &pcm);
if (ret < 0) {
- snd_free_card(card);
+ snd_card_free(card);
return ret;
}
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops);