Re: my driver can't reproduce continuously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 23, 2009 at 06:58:59PM +0900, Kuninori Morimoto wrote:

> o why aplay say underrun!!! ?
>   where should I check ?

Underrun means that the driver is consuming data more quickly than aplay
is able to provide it.  This may mean that there's some system
performance problem or it may be due to your driver is consuming data
more quickly than it should and causing problems further up the stack.

> o sometimes BUG_ON is called when I use kmalloc on
>   snd_soc_dai_ops :: trigger.
>   This BUG_ON came frome cache_alloc_refill.
>   Should I not use kmalloc on trigger function ?

You shouldn't be using kmalloc() there, no - the trigger function is
called from an atomic context where only very limited memory allocation
is possible.

I'll have a look at your code, but it's likely to be a few days before I
have time to do so.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux