 
            
            
            
            
                20 Dec
                
                    2011
                
            
            
                20 Dec
                
                '11
                
            
            
            
        
    
                4:32 p.m.
            
        Takashi Iwai wrote:
One point I'm not sure about this implementation is the use of tasklet. The tasklet itself runs again in ep->lock, what's the rationale for it? In other words, can't it be a straight function call?
This architecture was copied from ua101.c. If I remember correctly, the original reason for the tasklet was to avoid calling snd_pcm_period_elapsed() from inside the lock. This would not be necessary in endpoint.c.
Regards, Clemens