Skip to content

Commit

Permalink
ASoC: omap-mcbsp: Fix 6pin mux configuration
Browse files Browse the repository at this point in the history
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 <cfadad@rocketmail.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org (3.4+)
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Aug 7, 2012
1 parent 3c6c2a9 commit d0db84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/omap/mcbsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d0db84e

Please sign in to comment.