diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-10 11:24:50 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-10 11:24:50 +0400 |
commit | 1209842af4db98ffd7364ec9cf7d1a59293aa74c (patch) | |
tree | 33202a5468dc66456b67764eb6a272bd7e8c5af5 /sound/soc/mid-x86/sst_platform.c | |
parent | f0a2b0cb71e652ae9f0feeea91e5320e4faf25dc (diff) | |
parent | f3eee00da39cba3c8a4db7048458969c620ac6d8 (diff) | |
download | linux-1209842af4db98ffd7364ec9cf7d1a59293aa74c.tar.xz |
Merge branch 'for-2.6.40' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into topic/asoc
Diffstat (limited to 'sound/soc/mid-x86/sst_platform.c')
-rw-r--r-- | sound/soc/mid-x86/sst_platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/mid-x86/sst_platform.c b/sound/soc/mid-x86/sst_platform.c index 9765fb81a5e3..5a946b4115a2 100644 --- a/sound/soc/mid-x86/sst_platform.c +++ b/sound/soc/mid-x86/sst_platform.c @@ -380,6 +380,11 @@ static int sst_platform_pcm_hw_params(struct snd_pcm_substream *substream, return 0; } +static int sst_platform_pcm_hw_free(struct snd_pcm_substream *substream) +{ + return snd_pcm_lib_free_pages(substream); +} + static struct snd_pcm_ops sst_platform_ops = { .open = sst_platform_open, .close = sst_platform_close, @@ -388,6 +393,7 @@ static struct snd_pcm_ops sst_platform_ops = { .trigger = sst_platform_pcm_trigger, .pointer = sst_platform_pcm_pointer, .hw_params = sst_platform_pcm_hw_params, + .hw_free = sst_platform_pcm_hw_free, }; static void sst_pcm_free(struct snd_pcm *pcm) |