]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mach-u300: set apropriate FIFO trigger levels
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jun 2011 07:28:28 +0000 (09:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jun 2011 10:09:43 +0000 (12:09 +0200)
The U300 just defined the fill level limits for the FIFOs to
1 item out of habit. It can easily handle four.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/spi.c

index 5767208f1c1dc5ac99bce10b73b5a4c799b8edb8..7b597e2b19e2aa724d238f04a8b6b503e0ea67aa 100644 (file)
@@ -40,8 +40,8 @@ struct pl022_config_chip dummy_chip_info = {
        .hierarchy = SSP_MASTER,
        /* 0 = drive TX even as slave, 1 = do not drive TX as slave */
        .slave_tx_disable = 0,
-       .rx_lev_trig = SSP_RX_1_OR_MORE_ELEM,
-       .tx_lev_trig = SSP_TX_1_OR_MORE_EMPTY_LOC,
+       .rx_lev_trig = SSP_RX_4_OR_MORE_ELEM,
+       .tx_lev_trig = SSP_TX_4_OR_MORE_EMPTY_LOC,
        .ctrl_len = SSP_BITS_12,
        .wait_state = SSP_MWIRE_WAIT_ZERO,
        .duplex = SSP_MICROWIRE_CHANNEL_FULL_DUPLEX,