msm: ipa: wwan: release producer only when UL desc FIFOs empty

To ensure UL packets are not stuck in some desc FIFO when APPS
votes for A2 power-collapse, add an extra check that all UL FIFOs
on embedded data path are empty before releasing WWAN_PROD. This
is a workaround which can delay A2 power-collapse when this specific
(rare) scenario is encountered.

Change-Id: I40a0767d5f6db872d5a8d5782cb13358ebdf75c9
Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
3 files changed