ARM: OMAP2+: Prepare for irqs.h removal
[deliverable/linux.git] / sound / soc / omap / mcbsp.c
index 34835e8a9160ce16b1d074a1f8495d1124e5eac8..f18e48847323fa2dabc2c6ed664e50a2d3db7df4 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <plat/mcbsp.h>
 
+#include <plat/cpu.h>
+
 #include "mcbsp.h"
 
 static void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val)
@@ -745,7 +747,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) {
This page took 0.024471 seconds and 5 git commands to generate.