From: Peter Ujfalusi Subject: [PATCH] ASoC: omap-mcbsp: Fix 6pin mux configuration Date: Tue, 7 Aug 2012 15:37:47 +0300 Message-ID: <1344343067-27435-1-git-send-email-peter.ujfalusi@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog101.obsmtp.com (na3sys009aog101.obsmtp.com [74.125.149.67]) by alsa0.perex.cz (Postfix) with ESMTP id AF43F265F67 for ; Tue, 7 Aug 2012 18:12:41 +0200 (CEST) Received: by obbta14 with SMTP id ta14so7249637obb.4 for ; Tue, 07 Aug 2012 09:42:18 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org, stable@linux.org, "3.4+" , Jarkko Nikula List-Id: alsa-devel@alsa-project.org The check for the mux_signal callback was wrong which prevents us to configure the 6pin port's FSR/CLKR signal mux. Reported-by: CF Adad Cc: stable@kernel.org (3.4+) Signed-off-by: Peter Ujfalusi --- Hi Mark, The omap-mcbsp FSR/CLKR mux configuration code seams to be broken since 3.4. Would it be possible to apply this patch for the 3.6 release? CC-ing stable@kernel.org since this part is broken in 3.4 and 3.5 kernels as well. Regards, Peter sound/soc/omap/mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c index 1b08d98..5bda7c9 100644 --- a/sound/soc/omap/mcbsp.c +++ b/sound/soc/omap/mcbsp.c @@ -766,7 +766,7 @@ int omap_mcbsp_6pin_src_mux(struct omap_mcbsp *mcbsp, u8 mux) { const char *signal, *src; - if (mcbsp->pdata->mux_signal) + if (!mcbsp->pdata->mux_signal) return -EINVAL; switch (mux) { -- 1.7.8.6