commit | e12ae3cbcc6c28c843eb3e0757736cbb595236a4 | [log] [tgz] |
---|---|---|
author | Preetam Singh Ranawat <apranawat@codeaurora.org> | Tue Jan 17 16:24:40 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Mar 31 14:08:31 2017 -0700 |
tree | 497aad552a5c11823572527e4bdf1ff864d9664b | |
parent | 1277f96190d18a393f3ae9663429a6830e9810d5 [diff] |
ALSA: pcm: fix blocking while loop in snd_pcm_update_hw_ptr0() When period interrupts are disabled, while loop in snd_pcm_update_hw_ptr0() results in the machine locking up if runtime->hw_ptr_buffer_jiffies is 0. Validate runtime->hw_ptr_buffer_jiffies value before while loop to avoid delta check. CRs-Fixed: 1109229 Change-Id: Ib20b71c70aa4a8bee2837d1f3b5a91ad4ce083da Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>