diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-03 09:45:46 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-03 09:45:46 +0000 |
commit | 176f801ce45198c7c291fd8c1accb0580292c616 (patch) | |
tree | 6efd922da0531a28a8b0b7b9ec43c12304176806 /target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch | |
parent | 540c45aaa3674c7f0fab106d3705687ba9c335fb (diff) | |
download | master-187ad058-176f801ce45198c7c291fd8c1accb0580292c616.tar.gz master-187ad058-176f801ce45198c7c291fd8c1accb0580292c616.tar.bz2 master-187ad058-176f801ce45198c7c291fd8c1accb0580292c616.zip |
[brcm63xx] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch b/target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch index d48225bf08..7d4d9514d9 100644 --- a/target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch +++ b/target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch @@ -79,7 +79,7 @@ Signed-off-by: Grant Likely <grant.likely@secretlab.ca> + /* Find the closest clock configuration */ for (i = 0; i < SPI_CLK_MASK; i++) { - if (hz <= bcm63xx_spi_freq_table[i][0]) { + if (hz >= bcm63xx_spi_freq_table[i][0]) { @@ -139,8 +149,6 @@ static int bcm63xx_spi_setup_transfer(st bcm_spi_writeb(bs, reg, SPI_CLK_CFG); dev_dbg(&spi->dev, "Setting clock register to %02x (hz %d)\n", |