ASoc: msm: Fix for pcm_read getting struck in alsa core.

Advance hardware pointer by period size even if the packet
size is 0. QDSP6 sometimes(for rapid device switches) gives
0 size packets and this results in elapsed_timeout in pcm core.

CRs-fixed: 578738
Change-Id: I4578b1d3566d5f3eea965102b00fdb4c6838765d
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
1 file changed