Port the latest fixes from msm-4.19. This includes: - Clear status flags when entering powersave (Ifc6457f1696ef) - Adjust QMAP query grants (I9da42a9d2425) - fix use-after-free (I76ab4a99b3f4) Change-Id: I1beb93d1f6fdf214c8756bd0e488914bf876aa5e Acked-by: Weiyi Chen <weiyic@qti.qualcomm.com> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>