26 Jan
2013
26 Jan
'13
9:52 a.m.
On Fri, Jan 25, 2013 at 03:38:19PM +0000, Charles Keepax wrote:
- /* cancel any delayed stream shutdown that is pending */
- if (codec_dai->pop_wait) {
codec_dai->pop_wait = 0;
cancel_delayed_work(&rtd->delayed_work);
- }
This looks racy - the check for pop_wait can't be doing a huge amount here, the work might already have been scheduled.