[<prev] [next>] [day] [month] [year] [list]
Message-ID: <54D487BF.2050602@bytesatwork.ch>
Date: Fri, 06 Feb 2015 10:22:07 +0100
From: Urs Fässler <urs.fassler@...esatwork.ch>
To: perex@...ex.cz, tiwai@...e.de
CC: urs.fassler@...esatwork.ch, lgirdwood@...il.com,
broonie@...nel.org, peter.ujfalusi@...com, jsarha@...com,
misael.lopez@...com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] davinci-mcasp: use bclk_master flag to decide if the
SOC is clock master
Signed-off-by: Urs Fässler <urs.fassler@...esatwork.ch>
---
sound/soc/davinci/davinci-mcasp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/davinci/davinci-mcasp.c
b/sound/soc/davinci/davinci-mcasp.c
index 30b94d4..396cdec 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -541,7 +541,7 @@ static int davinci_mcasp_set_sysclk(struct
snd_soc_dai *dai, int clk_id,
{
struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai);
- if (dir == SND_SOC_CLOCK_OUT) {
+ if (mcasp->bclk_master) {
mcasp_set_bits(mcasp, DAVINCI_MCASP_AHCLKXCTL_REG, AHCLKXE);
mcasp_set_bits(mcasp, DAVINCI_MCASP_AHCLKRCTL_REG, AHCLKRE);
mcasp_set_bits(mcasp, DAVINCI_MCASP_PDIR_REG, AHCLKX);
--
2.1.4
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists