diff options
Diffstat (limited to 'sound/usb/usx2y/usbusx2yaudio.c')
-rw-r--r-- | sound/usb/usx2y/usbusx2yaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c index affda973cece..c5989cb7db3f 100644 --- a/sound/usb/usx2y/usbusx2yaudio.c +++ b/sound/usb/usx2y/usbusx2yaudio.c | |||
@@ -941,10 +941,8 @@ static void usX2Y_audio_stream_free(snd_usX2Y_substream_t **usX2Y_substream) | |||
941 | static void snd_usX2Y_pcm_private_free(snd_pcm_t *pcm) | 941 | static void snd_usX2Y_pcm_private_free(snd_pcm_t *pcm) |
942 | { | 942 | { |
943 | snd_usX2Y_substream_t **usX2Y_stream = pcm->private_data; | 943 | snd_usX2Y_substream_t **usX2Y_stream = pcm->private_data; |
944 | if (usX2Y_stream) { | 944 | if (usX2Y_stream) |
945 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
946 | usX2Y_audio_stream_free(usX2Y_stream); | 945 | usX2Y_audio_stream_free(usX2Y_stream); |
947 | } | ||
948 | } | 946 | } |
949 | 947 | ||
950 | static int usX2Y_audio_stream_new(snd_card_t *card, int playback_endpoint, int capture_endpoint) | 948 | static int usX2Y_audio_stream_new(snd_card_t *card, int playback_endpoint, int capture_endpoint) |