mirror of https://gitee.com/openkylin/linux.git
NFC: trf7970a: Remove unnecessary sleep
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>
This commit is contained in:
parent
1568bfef18
commit
17b2151733
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue