summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-10-22 16:40:16 -0700
committerEric Laurent <elaurent@google.com>2010-10-25 09:34:33 -0700
commit0c7d0dd2d75871c221c434b648c0d8f853af6ebf (patch)
tree3bc63ff7e932b8c147465d68bed45c9bfd6b452a /CleanSpec.mk
parent1eabb7d1f784831fab6e388c121b8a4358c0fa4c (diff)
downloaddevice_samsung_crespo-0c7d0dd2d75871c221c434b648c0d8f853af6ebf.zip
device_samsung_crespo-0c7d0dd2d75871c221c434b648c0d8f853af6ebf.tar.gz
device_samsung_crespo-0c7d0dd2d75871c221c434b648c0d8f853af6ebf.tar.bz2
Fix issue 3124837.
There is a self deadlock condition in AudioStreamOutALSA::write() when a error occurs writing to the driver. In this case, the mutex is held and we call standby() which tries to acquire the mutex too. The same condition is fixed also in AudioStreamInALSA::read() Additional changes: - Use a single instance of the alsa mixer to avoid simultaneous route change requests to the kernel driver. - Protect all route and mode changes by common mutex to avoid changing routes while reading or writing from/to the kernel driver. - Merged support for headphones (w/o mic). - Code cleanup Change-Id: I62bfe34f4dd4538e410f030bd0063c8835b5ee54
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions