Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aebc1f5 authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: wwan: rate limit error message



Vote for A2 power collapse is deferred if any of the UL
desc FIFOs are non-empty when last TX packet is completed.
An error message is logged for each such occurance. This
can be seen quite frequently for some SW path use cases
like WLAN UL or RNDIS UL and is impacting throughput. The
real cause of why the FIFOs are non-empty needs to be
looked into separately.

Change-Id: I02484e11f5edcda4d7ac2c8b212655f08f6c9067
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent 0984d32e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
#include <net/pkt_sched.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/ratelimit.h>
#include <mach/ipa.h>

#define WWAN_DEV_NAME "rmnet%d"
@@ -193,7 +194,7 @@ static void a2_mux_write_done(void *dev, struct sk_buff *skb)
			ipa_rm_inactivity_timer_release_resource(
				ipa_rm_resource_by_ch_id[wwan_ptr->ch_id]);
		else
			pr_err("%s: ch=%d empty but UL desc FIFOs not empty\n",
			pr_err_ratelimited("%s: ch=%d empty but UL desc FIFOs not empty\n",
					__func__, wwan_ptr->ch_id);
	}
	spin_unlock_irqrestore(&wwan_ptr->lock, flags);