Merge "ASOC: msm: allocate buf pointer only if session is valid" into msm-3.0