diff options
author | Peter Ujfalusi <[email protected]> | 2012-08-07 15:37:47 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-08-07 15:04:02 +0100 |
commit | d0db84e713eaaccea2a435e1625fb3150b335f4a (patch) | |
tree | 74f89a68422dfb8d3651e4c3a2f1fde958a781c6 | |
parent | 3c6c2a997743c48c3ef8abbf3400c4cf6da650fe (diff) |
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.
Reported-by: CF Adad <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected] (3.4+)
-rw-r--r-- | 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 34835e8a9160..d33c48baaf71 100644 --- a/sound/soc/omap/mcbsp.c +++ b/sound/soc/omap/mcbsp.c @@ -745,7 +745,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) { |