]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/linux/wb35tx.c
Staging: w35und: use msleep() and udelay()
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / linux / wb35tx.c
index ba9d51244e29797c30570a0da72e3083e006cd54..6687051b29c8ac8c2ec64afb14894b6245fe1d9d 100644 (file)
@@ -175,9 +175,9 @@ void Wb35Tx_destroy(phw_data_t pHwData)
 
        // Wait for VM stop
        do {
-               OS_SLEEP(10000);  // Delay for waiting function enter 940623.1.a
+               msleep(10);  // Delay for waiting function enter 940623.1.a
        } while( (pWb35Tx->EP2vm_state != VM_STOP) && (pWb35Tx->EP4vm_state != VM_STOP) );
-       OS_SLEEP(10000);  // Delay for waiting function enter 940623.1.b
+       msleep(10);  // Delay for waiting function enter 940623.1.b
 
        if (pWb35Tx->Tx4Urb)
                usb_free_urb( pWb35Tx->Tx4Urb );