perf - 向806写数据的任务其中轮询806的可读状态时休眠时间过短 1-10us改为150-200us
This commit is contained in:
parent
0933b5aeec
commit
ac9111a678
|
@ -104,7 +104,7 @@ int xradio_hwio_write(struct sk_buff *skb)
|
||||||
hwio_printk(XRADIO_DBG_ERROR, "write data wait dev read state faild\n");
|
hwio_printk(XRADIO_DBG_ERROR, "write data wait dev read state faild\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
xradio_k_usleep(1);
|
xradio_k_usleep(150);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ops->write(skb->data, skb->len)) {
|
if (ops->write(skb->data, skb->len)) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
void xradio_k_usleep(u32 us)
|
void xradio_k_usleep(u32 us)
|
||||||
{
|
{
|
||||||
#if PLATFORM_LINUX
|
#if PLATFORM_LINUX
|
||||||
usleep_range(us, 10);
|
usleep_range(us, 200);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue