Skip to content

Commit

Permalink
[media] pd-alsa: fix compilation breakage by commit da35de6
Browse files Browse the repository at this point in the history
commit da35de6 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>
  • Loading branch information
Mauro Carvalho Chehab committed Sep 23, 2012
1 parent da35de6 commit fac44ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/usb/tlg2300/pd-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fac44ee

Please sign in to comment.