Merge commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7' into eclair-mr2-plus-aosp
* commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7':
should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
Merge commit 'd285af5636ac54b37da3b4048b17855ac9c32a42' into eclair-mr2-plus-aosp
* commit 'd285af5636ac54b37da3b4048b17855ac9c32a42':
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
Merge commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf' into eclair-mr2
* commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf':
should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
Merge commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29' into eclair-mr2
* commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29':
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
This change avoids the audio driver lockup when changing audio input path configuration. It does not solve the root cause in audio driver or dsp.
When applied lockups observed in the folling use cases are eliminated:
- use back mic for camcorder recording (issue 2194140)
- switch input device when headset is plugged in or out during record (issue 2226658).
Also removes warnings.
Submitted on behalf of H.K Chen <hk_chen@htc.com>
Merge commit '4ad4ab296ba6bb90322ee2780e05a33c67883089'
* commit '4ad4ab296ba6bb90322ee2780e05a33c67883089':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit '5fd5d902775cbdb0e9498c6708b99316de8e3e17' into eclair-mr2-plus-aosp
* commit '5fd5d902775cbdb0e9498c6708b99316de8e3e17':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89' into eclair-mr2
* commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit '977729303ce0a5609b3ddbd36e6801d8397ff5c4' into eclair-mr2-plus-aosp
* commit '977729303ce0a5609b3ddbd36e6801d8397ff5c4':
enable mdp debugging on error, also check for invalid inputs
Merge commit 'b7f7f038529135a5c21234ae89e4b87a1c56854a' into eclair-mr2
* commit 'b7f7f038529135a5c21234ae89e4b87a1c56854a':
enable mdp debugging on error, also check for invalid inputs
Merge commit '92286d749dbc594c223ca25f9c294082088c7b38'
* commit '92286d749dbc594c223ca25f9c294082088c7b38':
When configuring the A10026 for microphone input outside of a call,
Merge commit '5175b4b6992568d92e0476e9d6bdb98cf4e126a3'
* commit '5175b4b6992568d92e0476e9d6bdb98cf4e126a3':
Use new acoustic parameters when recording in voice recognition mode
Merge commit '8d4f9726fcf28989a8e6d6cce6b1ef8fa464a160' into eclair-mr2-plus-aosp
* commit '8d4f9726fcf28989a8e6d6cce6b1ef8fa464a160':
When configuring the A10026 for microphone input outside of a call,
Merge commit '9bf3ce7d445eb3fc4043bc59d6c1adc16f3f8f32' into eclair-mr2-plus-aosp
* commit '9bf3ce7d445eb3fc4043bc59d6c1adc16f3f8f32':
Use new acoustic parameters when recording in voice recognition mode
Merge commit 'ba36d4fa33072ef14183365fffd289762c26905e' into eclair-mr2
* commit 'ba36d4fa33072ef14183365fffd289762c26905e':
When configuring the A10026 for microphone input outside of a call,
Merge commit '63af0f3cbd387e97bcaca82d1e22787c224d6430' into eclair-mr2
* commit '63af0f3cbd387e97bcaca82d1e22787c224d6430':
Use new acoustic parameters when recording in voice recognition mode
-- new a1026.h kernel header that contains just the user-space API and is
sanitized through bionic/libc/kernel/tools/clean_header.py
-- AudioHardware.cpp:
-- replace vr_mode with vr_mode_enabled, and use 0 and 1 instead of
A1026_VR_MODE_DISABLED/ENABLED, which is not defined in the kernel
header;
-- in doA1026_init(), replace a fread() of 1 byte with a read that as
much as possible from the firmware file in as few as possible passes
before we call into the kernel
-- Replace the size of the on-stack f/w buffer with A1026_MAX_FW_SIZE,
which now comes from the kernel header
-- Fix up some signed-unsigned comparison warnings on mBluetoothIdTx
Signed-off-by: Iliyan Malchev <malchev@google.com>
Modified AudioPolicyManager::setDeviceConnectionState() so that the device on active audio input is updated when a device is connected or disconnected.
The wrong key was used when removing the voice recognition mode from parameters list after handling it in AudioStreamInMSM72xx::setParameters() causing the set routing parameter to be removed and ignored.
Merge commit '59a10928801282ca6aeb195a0d9c8228136fd62a'
* commit '59a10928801282ca6aeb195a0d9c8228136fd62a':
Update lights to support the change in parameters passed by the framework
Merge commit 'af0348b94bcf190f73eec870f2d0106ba45e5fa2'
* commit 'af0348b94bcf190f73eec870f2d0106ba45e5fa2':
Use new A1026 header to us 1026 presets that match the driver.
Merge commit 'da6818d3785571964bb5bdedf7afa18900deb9ea' into eclair-mr2-plus-aosp
* commit 'da6818d3785571964bb5bdedf7afa18900deb9ea':
Update lights to support the change in parameters passed by the framework
Merge commit '79ad38d0b62ad2abfc7bedcb07f478594ebd3b76' into eclair-mr2-plus-aosp
* commit '79ad38d0b62ad2abfc7bedcb07f478594ebd3b76':
Use new A1026 header to us 1026 presets that match the driver.
Merge commit 'dbef679fccd8d44881642564c54baafa41da6c55' into eclair-mr2
* commit 'dbef679fccd8d44881642564c54baafa41da6c55':
Update lights to support the change in parameters passed by the framework