diff options
| author | Preetam Singh Ranawat <apranawat@codeaurora.org> | 2017-01-17 16:24:40 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-01-30 22:05:36 -0800 |
| commit | 6fd9409fbd029653f0939a5ae7225e6ddb2114a8 (patch) | |
| tree | c89ae687c52d3103a8823240d54d7eb3c7a1109e /tools/perf/scripts/python | |
| parent | ea4719da1fbdb56ef368b725496c3acdb4dde51c (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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
