TTY: move allocations to tty_alloc_driver
[deliverable/linux.git] / drivers / spi / spi-bcm63xx.c
index 7491971139a63000aac97854132645fe5125fff4..6e25ef1bce91f98549e5b514c051fd065deb6fbc 100644 (file)
@@ -129,7 +129,7 @@ static void bcm63xx_spi_setup_transfer(struct spi_device *spi,
 
        /* 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]) {
                        clk_cfg = bcm63xx_spi_freq_table[i][1];
                        break;
                }
This page took 0.024329 seconds and 5 git commands to generate.