mmc: core: duplicated trial with same freq in mmc_rescan_try_freq()
[deliverable/linux.git] / drivers / mmc / core / core.c
index 7863eedf3d9a5a028193c8be7b5d5b9d00ce89c2..68091dda3f31f49ab9d7130cbad178e93d5ca1c8 100644 (file)
@@ -1608,7 +1608,7 @@ void mmc_rescan(struct work_struct *work)
        for (i = 0; i < ARRAY_SIZE(freqs); i++) {
                if (!mmc_rescan_try_freq(host, max(freqs[i], host->f_min)))
                        break;
-               if (freqs[i] < host->f_min)
+               if (freqs[i] <= host->f_min)
                        break;
        }
        mmc_release_host(host);
This page took 0.042505 seconds and 5 git commands to generate.