* [PATCH] sst_platform: add hw_free callback
@ 2011-04-27 20:58 xingchao
2011-05-03 22:03 ` Liam Girdwood
2011-05-03 22:31 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: xingchao @ 2011-04-27 20:58 UTC (permalink / raw)
To: alsa-devel
Cc: feng.tang, tiwai, broonie, xingchao, vinod.koul, priya.harsha,
michael.fu, fengguang.wu
Signed-off-by: xingchao <xingchao.wang@intel.com>
---
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 9765fb8..5a946b4 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)
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sst_platform: add hw_free callback
2011-04-27 20:58 [PATCH] sst_platform: add hw_free callback xingchao
@ 2011-05-03 22:03 ` Liam Girdwood
2011-05-03 22:31 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-05-03 22:03 UTC (permalink / raw)
To: xingchao
Cc: alsa-devel, tiwai, broonie, feng.tang, vinod.koul, priya.harsha,
michael.fu, fengguang.wu
On Wed, 2011-04-27 at 16:58 -0400, xingchao wrote:
> Signed-off-by: xingchao <xingchao.wang@intel.com>
> ---
> sound/soc/mid-x86/sst_platform.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sst_platform: add hw_free callback
2011-04-27 20:58 [PATCH] sst_platform: add hw_free callback xingchao
2011-05-03 22:03 ` Liam Girdwood
@ 2011-05-03 22:31 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-03 22:31 UTC (permalink / raw)
To: xingchao
Cc: alsa-devel, tiwai, feng.tang, vinod.koul, priya.harsha,
michael.fu, fengguang.wu
On Wed, Apr 27, 2011 at 04:58:54PM -0400, xingchao wrote:
> Signed-off-by: xingchao <xingchao.wang@intel.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-03 22:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27 20:58 [PATCH] sst_platform: add hw_free callback xingchao
2011-05-03 22:03 ` Liam Girdwood
2011-05-03 22:31 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.