alsa_sound: Design changes in HAL to support post proc effects

Change-Id: I4fff973059ff63bc7c4f7a02be9571e3c755e9fa
audio/msm8660: Fix to avoid routing in voice call

-If a device selected for media playback is other than the
current active device selected to route voice call, routing
is switched to that device.
-Avoid routing in such cases if device to route is different from
current device for voice call.

CRs-Fixed: 397595
(cherry picked from commit 0dce41e25fdc4c6d6a98842063aa0536f6fa4590)

Change-Id: Ic0ea6ec0268756e8e121539ee18ffec9be33dc19
audio/msm8660: Fix for volume change during voice call

- Volume change is not working during voice call
- Calculate voice volume is missing at AudioPolicyManager,
  due to this 8660 HAL did not set voice volume change.
- Add voice volume calculation at AudioPolicyManager

CRs-Fixed: 406657
(cherry picked from commit fe2e7b001f4e2dd45722a5f1e3fa6274766d288a)

Change-Id: I34639c52e04d4fa1830808a169069f20db5ac095
Merge "audio/msm8660: Fix for volume change during voice call"
Merge "audio/msm8660: Fix to avoid routing in voice call"
Merge "alsa_sound: Design changes in HAL to support post proc effects"
audio/msm8660: Add usb audio hal profile.

remove USB ACCESSORY support from STRATEGY_PHONE to force speaker.

Change-Id: Id34505c9ed86b875b9337c1c8f0f77f760eabbec
Merge "audio/msm8660: Add usb audio hal profile."
Update copyright to The Linux Foundation

Change-Id: Ic5592267ce3d61b9bf7357006ed623ea12f1c282