NFC: trf7970a: Remove unnecessary sleep
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:21 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:43 +0000 (23:13 +0200)
There is no need to sleep for 1-2 ms before
transmitting a new command.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c

index 46a075dea67cdbf89097409f8511161d67f984f1..4709bea8deb2d239df097ca78ce07f846e44736a 100644 (file)
@@ -1160,8 +1160,6 @@ static int trf7970a_in_send_cmd(struct nfc_digital_dev *ddev,
 
        len = min_t(int, skb->len, TRF7970A_FIFO_SIZE);
 
-       usleep_range(1000, 2000);
-
        ret = trf7970a_transmit(trf, skb, len);
        if (ret) {
                kfree_skb(trf->rx_skb);