rk: revert 20f3d0b+v3.0.66 to v3.0
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / atp870u.c
index 59fc5a1fdae0babf2f9581cacd2e7b552d26e422..7e6eca4a125e91f75c55280dbbc34ee3d03a9010 100644 (file)
@@ -1174,16 +1174,7 @@ wait_io1:
        outw(val, tmport);
        outb(2, 0x80);
 TCM_SYNC:
-       /*
-        * The funny division into multiple delays is to accomodate
-        * arches like ARM where udelay() multiplies its argument by
-        * a large number to initialize a loop counter.  To avoid
-        * overflow, the maximum supported udelay is 2000 microseconds.
-        *
-        * XXX it would be more polite to find a way to use msleep()
-        */
-       mdelay(2);
-       udelay(48);
+       udelay(0x800);
        if ((inb(tmport) & 0x80) == 0x00) {     /* bsy ? */
                outw(0, tmport--);
                outb(0, tmport);