]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mmc/core/core.c
Merge branch 'karo-tx6-mainline' into stable
[karo-tx-linux.git] / drivers / mmc / core / core.c
index 5ae89e48fd85b575cf743363b3a298b49872b7db..5f7d10ba498a8b3183e620fcb5ce3873b969cb5f 100644 (file)
@@ -874,11 +874,11 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card)
        /*
         * Some cards require longer data read timeout than indicated in CSD.
         * Address this by setting the read timeout to a "reasonably high"
-        * value. For the cards tested, 300ms has proven enough. If necessary,
+        * value. For the cards tested, 600ms has proven enough. If necessary,
         * this value can be increased if other problematic cards require this.
         */
        if (mmc_card_long_read_time(card) && data->flags & MMC_DATA_READ) {
-               data->timeout_ns = 300000000;
+               data->timeout_ns = 600000000;
                data->timeout_clks = 0;
        }