
9 Sep
2009
9 Sep
'09
4:05 p.m.
On Wed, Sep 09, 2009 at 18:03:58, Caglar Akyuz wrote:
On Wednesday 09 September 2009 15:08:42 Nori, Sekhar wrote:
[...]
However, with or without your patch, I noticed a segmentation fault for the first time the 'arecord | aplay' loop is created. There is no fault the second time around. I haven't spent time debugging this yet.
This is due to these lines in davinci_pcm_enqueue_dma:
data_type = prtd->params->data_type; count = period_size / data_type;
First time running data_type is set to 0. This is a long time issue, I remember modifying my kernels to check for zero before this division..
Ah, thanks! Planning to submit a fix for this? We can work on the patch if you are busy otherwise.
Regards, Sekhar