9 Mar
2012
9 Mar
'12
1:53 p.m.
On Fri, Mar 09, 2012 at 11:21:31AM +0800, Shawn Guo wrote:
On Fri, Mar 09, 2012 at 02:09:57AM +0000, Tabi Timur-B04825 wrote:
That's the general idea, but I think it needs more study. I don't consider this to be a bug that needs to be fixed ASAP, since it's never been an actual problem so far. For instance, do we need to protect between hw_params and _trigger?
Yes, the capture and playback streams may run in parallel.
Ok, I will leave it to you with a big "FIXME" comment then.
You probably just need a read/modify/write function to do the locking in the style of update_bits().