diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-26 13:33:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-26 13:33:48 +0000 |
commit | d15e136debaac5631f01d4655af4c28659a96d3c (patch) | |
tree | aad2523670edfe29d28b52bc07df63fc7bbeedc6 /target/linux/brcm63xx/patches-2.6.33/240-spi.patch | |
parent | 84dd37d9302e887ed21ee67c21919c134e9060a2 (diff) | |
download | mtk-20170518-d15e136debaac5631f01d4655af4c28659a96d3c.zip mtk-20170518-d15e136debaac5631f01d4655af4c28659a96d3c.tar.gz mtk-20170518-d15e136debaac5631f01d4655af4c28659a96d3c.tar.bz2 |
fix spi chip select configuration
SVN-Revision: 21164
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/240-spi.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/240-spi.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/240-spi.patch b/target/linux/brcm63xx/patches-2.6.33/240-spi.patch index 8d7e7b2..a886a02 100644 --- a/target/linux/brcm63xx/patches-2.6.33/240-spi.patch +++ b/target/linux/brcm63xx/patches-2.6.33/240-spi.patch @@ -505,7 +505,7 @@ + if (is_on == BITBANG_CS_INACTIVE) + val |= SPI_CMD_NOOP; + else if (is_on == BITBANG_CS_ACTIVE) -+ val |= (1 << spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); ++ val |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); + + bcm_spi_writew(val, bs->regs, SPI_CMD); +} |