diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 21:42:44 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 21:51:57 +0200 |
commit | fac44ee564a54db020ad384e0de94b5d8be3c6b5 (patch) | |
tree | 8b57406107c1af58ca6a8ef175f1c8a6a79f84ba /drivers/media/usb/tlg2300/pd-alsa.c | |
parent | [media] tlg2300: fix missing check for audio creation (diff) | |
download | linux-fac44ee564a54db020ad384e0de94b5d8be3c6b5.tar.xz linux-fac44ee564a54db020ad384e0de94b5d8be3c6b5.zip |
[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/pd-alsa.c')
-rw-r--r-- | drivers/media/usb/tlg2300/pd-alsa.c | 2 |
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); |