Skip to contentSkip to conversation

ASoC: omap-mcbsp: Fix 6pin mux configuration

PATCH Applied Peter Ujfalusi 3 participants 4 messages Aug 7, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: omap-mcbsp: Fix 6pin mux configuration

The check for the mux_signal callback was wrong which prevents us to configure the 6pin port's FSR/CLKR signal mux.

---

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 [email protected] 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(-)
sound/soc/omap/mcbsp.c +1 -1
index 1b08d98..5bda7c9 100644
@@ -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) {
Signature · 1 line
1.7.8.6
Applied
#1 lore raw
Quoted 2 lines · Peter Ujfalusi

The check for the mux_signal callback was wrong which prevents us to configure the 6pin port's FSR/CLKR signal mux.

Applied, thanks.

Quoted 1 line

Should be [email protected] these days.

Acked-by on v1 1/1
#3 lore raw
In reply to Peter Ujfalusi
Quoted 27 lines · Peter Ujfalusi

The check for the mux_signal callback was wrong which prevents us to configure the 6pin port's FSR/CLKR signal mux.

---

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 [email protected] 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(-)
sound/soc/omap/mcbsp.c +0 -0
index 1b08d98..5bda7c9 100644

sound/soc/omap/mcbsp.c int omap_mcbsp_6pin_src_mux(struct omap_mcbsp *mcbsp, u8 mux) · line 771

Quoted 7 lines
sound/soc/omap/mcbsp.c +1 -1
@@ -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;