RepoBackups / bricked

Automatically exported from code.google.com/p/bricked
Other
0 stars 0 forks source link

not able to close the thread "audio_mvs_thread" by using "kthread_stop" #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
File to refer ./arch/arm/mach-msm/qdsp5v2/audio_mvs.c

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
"audio_mvs_thread" should stop by "kthread_stop"

What version of the product are you using? On what operating system?
android 2.3.6 Linux 2.6.35

Please provide any additional information below.

I am working for OEM in which we are using MSM8655.to test the phone we run 
factory test in which different testing of various part of phone like sensor, 
lcd , touch, display and audio take place.
while in audio testing i came across "kthread_stop" hang condition which is not 
able to close "audio_mvs_thread", when i look around the code i see 
"msm_rpc_read" is a sleeping function. but to wake up this at the audio stop 
time, we already have taken provision like 

/* Un-block read in case it is waiting for data. */
  wake_up(&audio->out_wait); 

in audio_mvs_stop function.

function flow
audio_mvs_start --> audio_mvs_ioctl(audio configuration) --> audio_mvs_release

Original issue reported on code.google.com by prshntsa...@gmail.com on 5 Jul 2012 at 6:35

GoogleCodeExporter commented 9 years ago
Very interesting, though I can't see how relevant this is for my use-case. 
qdsp6 is used on the sensation if I remember correctly and Bricked is already 
on linux kernel version 3.x.

Which problems are being counteracted by this patch on gingerbread & 2.6.35?

Original comment by showp1984 on 5 Jul 2012 at 1:38

GoogleCodeExporter commented 9 years ago
oops i think i have posted this in wrong place.
actually i am working on motorola primus project 
encountered this issue while factory test.

coming to issue , can you just guide me , or show some path to go
any help will be appreciated

-Prashant  

Original comment by prshntsa...@gmail.com on 5 Jul 2012 at 2:53

GoogleCodeExporter commented 9 years ago
Sorry, I can't help you with that without reading into the qdsp5v2, because I 
never developed for a device that uses it.
But I hope that you find the answer you are seeking.

Since this is not related to bricked I will close up here.

Original comment by showp1984 on 5 Jul 2012 at 3:00