Title: [6488] branches/2009R1/sound/soc/blackfin/bf5xx-i2s.c: bug[#2424]change to a more reliable way to configure sport
- Revision
- 6488
- Author
- cliff
- Date
- 2009-05-27 04:19:14 -0500 (Wed, 27 May 2009)
Log Message
bug[#2424]change to a more reliable way to configure sport
Modified Paths
Diff
Modified: branches/2009R1/sound/soc/blackfin/bf5xx-i2s.c (6487 => 6488)
--- branches/2009R1/sound/soc/blackfin/bf5xx-i2s.c 2009-05-27 09:09:44 UTC (rev 6487)
+++ branches/2009R1/sound/soc/blackfin/bf5xx-i2s.c 2009-05-27 09:19:14 UTC (rev 6488)
@@ -185,6 +185,12 @@
return 0;
}
+static void bf5xx_i2s_shutdown(struct snd_pcm_substream *substream)
+{
+ pr_debug("%s enter\n", __func__);
+ bf5xx_i2s.configured = 0;
+}
+
static int bf5xx_i2s_probe(struct platform_device *pdev,
struct snd_soc_dai *dai)
{
@@ -291,6 +297,7 @@
.rates = BF5XX_I2S_RATES,
.formats = BF5XX_I2S_FORMATS,},
.ops = {
+ .shutdown = bf5xx_i2s_shutdown,
.hw_params = bf5xx_i2s_hw_params,},
.dai_ops = {
.set_fmt = bf5xx_i2s_set_dai_fmt,
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits