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 | 6edaad0b91ed25edc95f09ca0a7fbbe740018328 (patch) | |
tree | 45f08c2e4cfc5888a38cc574fe8717d2ec6bc666 /target/linux/brcm63xx/patches-2.6.33/240-spi.patch | |
parent | 698761efeb139905d969548182ddae7d0fca69fa (diff) | |
download | master-187ad058-6edaad0b91ed25edc95f09ca0a7fbbe740018328.tar.gz master-187ad058-6edaad0b91ed25edc95f09ca0a7fbbe740018328.tar.bz2 master-187ad058-6edaad0b91ed25edc95f09ca0a7fbbe740018328.zip |
[brcm63xx] fix spi chip select configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21164 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 8d7e7b2968..a886a02a0c 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); +} |