This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omap 4460 spi mastet mode can not work

Hello:

      Now  I use kernel 3.0.21 android version for omap4460 ,but I found mcspi1 control not work which  driver is omap2_mcspi.c .Is that right? I modify code as follow:

path:arch/arm/mach-omap2/board-omap4panda.c

    OMAP4_MUX(MCSPI1_CS3, OMAP_PIN_OUTPUT | OMAP_MUX_MODE0),
    OMAP4_MUX(MCSPI1_CLK, OMAP_PIN_OUTPUT | OMAP_MUX_MODE0),
    OMAP4_MUX(MCSPI1_SIMO, OMAP_PIN_OUTPUT | OMAP_MUX_MODE0),
    OMAP4_MUX(MCSPI1_SOMI, OMAP_PIN_INPUT| OMAP_MUX_MODE0),

@@ -242,7 +242,7 @@ static void omap2_mcspi_set_master_mode(struct spi_master *master)
         */
        l = mcspi_read_reg(master, OMAP2_MCSPI_MODULCTRL);
        MOD_REG_BIT(l, OMAP2_MCSPI_MODULCTRL_STEST, 0);
-       MOD_REG_BIT(l, OMAP2_MCSPI_MODULCTRL_MS, 0);
+       MOD_REG_BIT(l, OMAP2_MCSPI_MODULCTRL_MS, 1);
        MOD_REG_BIT(l, OMAP2_MCSPI_MODULCTRL_SINGLE, 1);
        mcspi_write_reg(master, OMAP2_MCSPI_MODULCTRL, l);

Error is :

TXS timed out