Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (dma_mode) {
- val = msecs_to_jiffies(ms) + 10;
- val = wait_for_completion_timeout(&sdd->xfer_completion, val);
- } else {
- u32 status;
- val = msecs_to_loops(ms);
- do {
- status = readl(regs + S3C64XX_SPI_STATUS);
- } while (RX_FIFO_LVL(status, sci) < xfer->len && --val);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement