On Fri, 2006-05-19 at 18:21 +0200, Takashi Iwai wrote: > Some descriptions are found in the atomicity section of my tutorial. Yes, I've seen that. Rather vague though. > All control callbacks are not protected, except for rwsem against > addition/removal of elements. Alright, so it's possible that a user actually changes two controls at the same time. IOW I have to protect against that. > The PCM trigger, pointer and ack callbacks shall be atomic, where > protected with spinlock and irq disabled. Other PCM callbacks are > not protected but for open mutex. Right. What about prepare and all the other pcm stuff? Can it race against the same when two apps open capture/playback etc? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part