From: Peter Ujfalusi <peter.ujfalusi@ti.com> To: Mark Brown <broonie@opensource.wolfsonmicro.com>, Liam Girdwood <lrg@ti.com>, Tony Lindgren <tony@atomide.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>, alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Benoit Cousson <b-cousson@ti.com> Subject: [PATCH v3 4/9] ASoC: am3517evm: Do not configure McBSP1 CLKR/FSR signal muxing Date: Thu, 16 Aug 2012 16:41:03 +0300 [thread overview] Message-ID: <1345124468-8876-5-git-send-email-peter.ujfalusi@ti.com> (raw) In-Reply-To: <1345124468-8876-1-git-send-email-peter.ujfalusi@ti.com> The muxing is done at board level, no need to do it in the ASoC machine driver. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> --- sound/soc/omap/am3517evm.c | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/sound/soc/omap/am3517evm.c b/sound/soc/omap/am3517evm.c index 009533a..a997988 100644 --- a/sound/soc/omap/am3517evm.c +++ b/sound/soc/omap/am3517evm.c @@ -47,26 +47,10 @@ static int am3517evm_hw_params(struct snd_pcm_substream *substream, /* Set the codec system clock for DAC and ADC */ ret = snd_soc_dai_set_sysclk(codec_dai, 0, CODEC_CLOCK, SND_SOC_CLOCK_IN); - if (ret < 0) { + if (ret < 0) printk(KERN_ERR "can't set codec system clock\n"); - return ret; - } - - ret = snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_CLKR_SRC_CLKX, 0, - SND_SOC_CLOCK_IN); - if (ret < 0) { - printk(KERN_ERR "can't set CPU system clock OMAP_MCBSP_CLKR_SRC_CLKX\n"); - return ret; - } - snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_FSR_SRC_FSX, 0, - SND_SOC_CLOCK_IN); - if (ret < 0) { - printk(KERN_ERR "can't set CPU system clock OMAP_MCBSP_FSR_SRC_FSX\n"); - return ret; - } - - return 0; + return ret; } static struct snd_soc_ops am3517evm_ops = { -- 1.7.8.6
WARNING: multiple messages have this Message-ID (diff)
From: peter.ujfalusi@ti.com (Peter Ujfalusi) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 4/9] ASoC: am3517evm: Do not configure McBSP1 CLKR/FSR signal muxing Date: Thu, 16 Aug 2012 16:41:03 +0300 [thread overview] Message-ID: <1345124468-8876-5-git-send-email-peter.ujfalusi@ti.com> (raw) In-Reply-To: <1345124468-8876-1-git-send-email-peter.ujfalusi@ti.com> The muxing is done at board level, no need to do it in the ASoC machine driver. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> --- sound/soc/omap/am3517evm.c | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/sound/soc/omap/am3517evm.c b/sound/soc/omap/am3517evm.c index 009533a..a997988 100644 --- a/sound/soc/omap/am3517evm.c +++ b/sound/soc/omap/am3517evm.c @@ -47,26 +47,10 @@ static int am3517evm_hw_params(struct snd_pcm_substream *substream, /* Set the codec system clock for DAC and ADC */ ret = snd_soc_dai_set_sysclk(codec_dai, 0, CODEC_CLOCK, SND_SOC_CLOCK_IN); - if (ret < 0) { + if (ret < 0) printk(KERN_ERR "can't set codec system clock\n"); - return ret; - } - - ret = snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_CLKR_SRC_CLKX, 0, - SND_SOC_CLOCK_IN); - if (ret < 0) { - printk(KERN_ERR "can't set CPU system clock OMAP_MCBSP_CLKR_SRC_CLKX\n"); - return ret; - } - snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_FSR_SRC_FSX, 0, - SND_SOC_CLOCK_IN); - if (ret < 0) { - printk(KERN_ERR "can't set CPU system clock OMAP_MCBSP_FSR_SRC_FSX\n"); - return ret; - } - - return 0; + return ret; } static struct snd_soc_ops am3517evm_ops = { -- 1.7.8.6
next prev parent reply other threads:[~2012-08-16 13:41 UTC|newest] Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-16 13:40 [PATCH v3 0/9] ARM/ASoC: OMAP McBSP device tree support Peter Ujfalusi 2012-08-16 13:40 ` Peter Ujfalusi 2012-08-16 13:41 ` [PATCH v3 1/9] ARM/ASoC: omap-mcbsp: Move OMAP2+ clock parenting code to ASoC driver Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-17 13:06 ` Tony Lindgren 2012-08-17 13:06 ` Tony Lindgren 2012-08-22 19:10 ` Mark Brown 2012-08-22 19:10 ` Mark Brown 2012-08-16 13:41 ` [PATCH v3 2/9] ARM: OMAP: mcbsp: Enable FIFO use for OMAP2430 Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-17 13:07 ` Tony Lindgren 2012-08-17 13:07 ` Tony Lindgren 2012-08-17 13:14 ` Jarkko Nikula 2012-08-17 13:14 ` Jarkko Nikula 2012-08-17 14:03 ` Peter Ujfalusi 2012-08-17 14:03 ` Peter Ujfalusi 2012-08-18 6:08 ` Tony Lindgren 2012-08-18 6:08 ` Tony Lindgren 2012-08-18 15:58 ` Ujfalusi, Peter 2012-08-18 15:58 ` Ujfalusi, Peter 2012-08-20 6:57 ` Tony Lindgren 2012-08-20 6:57 ` Tony Lindgren 2012-08-22 19:11 ` Mark Brown 2012-08-22 19:11 ` Mark Brown 2012-08-22 21:01 ` Tony Lindgren 2012-08-22 21:01 ` Tony Lindgren 2012-08-16 13:41 ` [PATCH v3 3/9] ARM: OMAP: board-am3517evm: Configure McBSP1 CLKR/FSR signal source Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-17 13:07 ` Tony Lindgren 2012-08-17 13:07 ` Tony Lindgren 2012-08-22 19:12 ` Mark Brown 2012-08-22 19:12 ` Mark Brown 2012-08-16 13:41 ` Peter Ujfalusi [this message] 2012-08-16 13:41 ` [PATCH v3 4/9] ASoC: am3517evm: Do not configure McBSP1 CLKR/FSR signal muxing Peter Ujfalusi 2012-08-17 13:08 ` Tony Lindgren 2012-08-17 13:08 ` Tony Lindgren 2012-08-22 19:13 ` Mark Brown 2012-08-22 19:13 ` Mark Brown 2012-08-16 13:41 ` [PATCH v3 5/9] ARM/ASoC: omap-mcbsp: Remove CLKR/FSR mux configuration code Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-17 13:08 ` Tony Lindgren 2012-08-17 13:08 ` Tony Lindgren 2012-08-22 19:15 ` Mark Brown 2012-08-22 19:15 ` Mark Brown 2012-08-23 8:12 ` Peter Ujfalusi 2012-08-23 8:12 ` Peter Ujfalusi 2012-08-16 13:41 ` [PATCH v3 6/9] ASoC: omap-mcbsp: Remove unused defines Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-22 19:15 ` Mark Brown 2012-08-22 19:15 ` Mark Brown 2012-08-16 13:41 ` [PATCH v3 7/9] ASoC: omap-mcbsp: Remove cpu_is_omap* checks from the code Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-22 19:15 ` Mark Brown 2012-08-22 19:15 ` Mark Brown 2012-08-16 13:41 ` [PATCH v3 8/9] ARM: OMAP2+: McBSP: Do not create legacy devices when booting with DT data Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-17 13:09 ` Tony Lindgren 2012-08-17 13:09 ` Tony Lindgren 2012-08-22 19:16 ` Mark Brown 2012-08-22 19:16 ` Mark Brown 2012-08-16 13:41 ` [PATCH v3 9/9] ASoC: omap-mcbsp: Add device tree bindings Peter Ujfalusi 2012-08-16 13:41 ` Peter Ujfalusi 2012-08-22 19:16 ` Mark Brown 2012-08-22 19:16 ` Mark Brown 2012-08-17 10:18 ` [PATCH v3 0/9] ARM/ASoC: OMAP McBSP device tree support Mark Brown 2012-08-17 10:18 ` Mark Brown 2012-08-17 13:10 ` Tony Lindgren 2012-08-17 13:10 ` Tony Lindgren
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1345124468-8876-5-git-send-email-peter.ujfalusi@ti.com \ --to=peter.ujfalusi@ti.com \ --cc=alsa-devel@alsa-project.org \ --cc=b-cousson@ti.com \ --cc=broonie@opensource.wolfsonmicro.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=jarkko.nikula@bitmer.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=lrg@ti.com \ --cc=tony@atomide.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.