1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00

[brcm63xx] refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32581 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-07-03 09:45:46 +00:00
parent bdc39c62ca
commit 0ef855fc75

View 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",