/*
         * If the previous xfer was completed within timeout, then
-        * proceed further else return -EIO.
+        * proceed further else return -ETIMEDOUT.
         * DmaTx returns after simply writing data in the FIFO,
         * w/o waiting for real transmission on the bus to finish.
         * DmaRx returns only after Dma read data from FIFO which
 
        /* If timed out while checking rx/tx status return error */
        if (!val)
-               return -EIO;
+               return -ETIMEDOUT;
 
        return 0;
 }
        if (use_irq) {
                val = msecs_to_jiffies(ms);
                if (!wait_for_completion_timeout(&sdd->xfer_completion, val))
-                       return -EIO;
+                       return -ETIMEDOUT;
        }
 
        val = msecs_to_loops(ms);