[PATCH] ASoC: pxa-ssp: disable only when the ssp dai is active

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From aa615ac25173dc6f610d8f6ec55cb9d7d8894124 Mon Sep 17 00:00:00 2001
From: Eric Miao <eric.miao@xxxxxxxxxxx>
Date: Thu, 5 Feb 2009 18:39:20 +0800
Subject: [PATCH] ASoC: pxa-ssp: disable only when the ssp dai is active

Signed-off-by: Eric Miao <eric.miao@xxxxxxxxxxx>
---

Typo?

 sound/soc/pxa/pxa-ssp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 4a973ab..3f12b45 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -238,7 +238,7 @@ static void pxa_ssp_shutdown(struct
snd_pcm_substream *substream,
 	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
 	struct ssp_priv *priv = cpu_dai->private_data;

-	if (!cpu_dai->active) {
+	if (cpu_dai->active) {
 		ssp_disable(&priv->dev);
 		clk_disable(priv->dev.ssp->clk);
 	}
-- 
1.6.0.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux