summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorManjula Gupta <magupta@nvidia.com>2010-03-31 18:00:56 +0530
committerGary King <gking@nvidia.com>2010-03-31 14:48:08 -0800
commitf7993d029dca1275c292b11e4e04006ce470d98b (patch)
tree52de7ec1b16d6a1c4f2d4bc8ea69507715cd7f73 /net/lapb/lapb_timer.c
parent2552f1cb5f0efd10509ea92bceb477b90fc7e7f5 (diff)
[ALSA]: Fix Record Hang
- Don't signal the shutdown thread until the thread process the SNDRV_PCM_TRIGGER_STOP call. The Kthread_stop() call is a blocking call that waits until the kthread_should_stop() returns. - Set the prtd->state to SNDRV_PCM_TRIGGER_STOP in pcm_common_close specifically to ensure proper clean-up and to handle the case where application exits without triggering the STOP call. - wait for the buffer done notification for the buffers queued in before setting mixer state to stop. - For Bug 667787 [LDK/Whistler/ALSA]"arecord" app hung with DVD quality .raw audio recording (Mono/Stereo). Change-Id: Id9c13bbd2dd0b5f90b3c545677eddfa05849c45f Reviewed-on: http://git-master/r/997 Reviewed-by: Vijay Mali <vmali@nvidia.com> Tested-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions