mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
refresh patches
SVN-Revision: 32581
This commit is contained in:
parent
bd9fa13c73
commit
4cdc4b1f36
@ -79,7 +79,7 @@ Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
|
|||||||
+
|
+
|
||||||
/* Find the closest clock configuration */
|
/* Find the closest clock configuration */
|
||||||
for (i = 0; i < SPI_CLK_MASK; i++) {
|
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
|
@@ -139,8 +149,6 @@ static int bcm63xx_spi_setup_transfer(st
|
||||||
bcm_spi_writeb(bs, reg, SPI_CLK_CFG);
|
bcm_spi_writeb(bs, reg, SPI_CLK_CFG);
|
||||||
dev_dbg(&spi->dev, "Setting clock register to %02x (hz %d)\n",
|
dev_dbg(&spi->dev, "Setting clock register to %02x (hz %d)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user