|
@@ -1140,15 +1140,9 @@ static int rsnd_pcm_new(struct snd_soc_pcm_runtime *rtd)
|
|
PREALLOC_BUFFER, PREALLOC_BUFFER_MAX);
|
|
PREALLOC_BUFFER, PREALLOC_BUFFER_MAX);
|
|
}
|
|
}
|
|
|
|
|
|
-static void rsnd_pcm_free(struct snd_pcm *pcm)
|
|
|
|
-{
|
|
|
|
- snd_pcm_lib_preallocate_free_for_all(pcm);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static struct snd_soc_platform_driver rsnd_soc_platform = {
|
|
static struct snd_soc_platform_driver rsnd_soc_platform = {
|
|
.ops = &rsnd_pcm_ops,
|
|
.ops = &rsnd_pcm_ops,
|
|
.pcm_new = rsnd_pcm_new,
|
|
.pcm_new = rsnd_pcm_new,
|
|
- .pcm_free = rsnd_pcm_free,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static const struct snd_soc_component_driver rsnd_soc_component = {
|
|
static const struct snd_soc_component_driver rsnd_soc_component = {
|