refresh patches
authorFlorian Fainelli <florian@openwrt.org>
Tue, 3 Jul 2012 09:45:46 +0000 (09:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 3 Jul 2012 09:45:46 +0000 (09:45 +0000)
SVN-Revision: 32581

target/linux/brcm63xx/patches-3.3/013-spi-bcm63xx-convert-to-the-pump-message-infrastructu.patch

index d48225bf085cda77e1546ce01a9dc756da3c1dae..7d4d9514d9eea15139bbc7eaf03d35c6d41288be 100644 (file)
@@ -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",