Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / char / pcmcia / cm4000_cs.c
index a219964cb77005ff2462f85edf9106b3c7fd0d41..809507bf8f1cd8c371845e450cfd4e7151b59eb0 100644 (file)
@@ -530,7 +530,7 @@ static int set_protocol(struct cm4000_dev *dev, struct ptsreq *ptsreq)
                        DEBUGP(5, dev, "NumRecBytes is valid\n");
                        break;
                }
-               mdelay(10);
+               usleep_range(10000, 11000);
        }
        if (i == 100) {
                DEBUGP(5, dev, "Timeout waiting for NumRecBytes getting "
@@ -546,7 +546,7 @@ static int set_protocol(struct cm4000_dev *dev, struct ptsreq *ptsreq)
                        DEBUGP(2, dev, "NumRecBytes = %i\n", num_bytes_read);
                        break;
                }
-               mdelay(10);
+               usleep_range(10000, 11000);
        }
 
        /* check whether it is a short PTS reply? */