commit | 05333d458d1c946a17c127372d3ff82558f38ee6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Aug 04 20:29:17 2014 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Aug 06 14:18:26 2014 -0700 |
tree | 6024386d213882a6b7b5cf149d740a120bdbee7d | |
parent | ba3c1a972e113f3bdf1c76a26e89505c39c981d3 [diff] |
usb audio: fix set_parameters read/write concurrency Do not read the ALSA PCM device configuration when playback or capture is active. Do not force ALSA profile update if card and device passed to out/in_set_parameters() do not change. Hold the main HAL lock when closing or opening the ALSA PCM device. Bug: 15520724. Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21