DMA interrupt not getting triggered(nailed the problem need solution)
Hi All,
This problem is due to ETIMEDOUT(timeout) happening in s3c_snd_lrsync function(called by trigger). As i understand this could be due I2S being broken. This basically happens because of improper initialization of CPU or CODEC.
But if that is the case then it would not have produced sound initially also but that
is not the case(initially it is ringing i.e. interrupt coming for a short time then after i am getting time out problem)?? After this sound is not coming this happens when it does the initialisation again using open, prepare,enqueue and so on.
Please provide any pointers which can help me out.
Thanks & High Regards,
anish
Quoted 1 line · ANISH KUMAR
This problem is due to ETIMEDOUT(timeout) happening in
s3c_snd_lrsyncfunction(called by trigger).
Please don't start a new thread for each mail, please continue discussion in the existing thread. It makes it much easier to follow which problem you are talking about.
Quoted 5 lines
As i understand this could be due I2S being broken. This basically happens because of improper initialization of CPU or CODEC.
But if that is the case then it would not have produced sound initially also but that
is not the case(initially it is ringing i.e. interrupt coming for a short time then after i am getting time out problem)??
If the initial hardware state happens to result in LRCLK being where the lrsync() function is trying to get it then the driver will start up, but the misclocking of the configuration will result in ALSA detecting an error which will eventually result in a restart of the audio stream.
Quoted 1 line
Please provide any pointers which can help me out.
You've probably got a problem with the machine driver for your system, check the way the clocks are set up in there.
Quoted 7 lines · ANISH KUMAR
Hi All,
This problem is due to ETIMEDOUT(timeout) happening in
s3c_snd_lrsyncfunction(called by trigger). As i understand this could be due I2S being broken. This basically happens because of improper initialization of CPU or CODEC.
Quoted 7 lines
But if that is the case then it would not have produced sound initially also but that
is not the case(initially it is ringing i.e. interrupt coming for a short time then after i am getting time out problem)?? After this sound is not coming this happens when it does the initialisation again using open, prepare,enqueue and so on.Please provide any pointers which can help me out.
Check the master/slave mode at each end of the CPU to CODEC link. If both are master or both are slave you could see issues similar to what you are seeing.