mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
mhi: dev: net_dev: do not assert wake during napi_poll
MHI device does not require host to assert wake when processing downlink data. CRs-Fixed: 2248650 Change-Id: Ibc8aa75afdeb9176ea936d794b39c6675ad49859 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
This commit is contained in:
parent
d2dd62695b
commit
1d84beb8d9
@ -320,8 +320,6 @@ static int mhi_netdev_poll(struct napi_struct *napi, int budget)
|
||||
return 0;
|
||||
}
|
||||
|
||||
mhi_device_get(mhi_dev);
|
||||
|
||||
rx_work = mhi_poll(mhi_dev, budget);
|
||||
if (rx_work < 0) {
|
||||
MSG_ERR("Error polling ret:%d\n", rx_work);
|
||||
@ -346,7 +344,6 @@ static int mhi_netdev_poll(struct napi_struct *napi, int budget)
|
||||
mhi_netdev->stats.rx_budget_overflow++;
|
||||
|
||||
exit_poll:
|
||||
mhi_device_put(mhi_dev);
|
||||
read_unlock_bh(&mhi_netdev->pm_lock);
|
||||
|
||||
MSG_VERB("polled %d pkts\n", rx_work);
|
||||
|
Loading…
x
Reference in New Issue
Block a user