hal: codec calibration data using hwdep nodes

Push the codec driver calibration using hwdep nodes.

Change-Id: I08875c543be5b69c6cf0d0bbc248806ae2f871c2
hal: Add support for several DB8074 specific audio devices

Fix DB8074 VoIP issue and the recording use case.

Change-Id: I99aaf21474d210ce33881ab32b95821352608139
post_proc: Fix improper datatype of EQ preset band level value

unsigned int causes negative band level turn out to be extreme large
value, which results in EQ works abnormally due to unexpected parameter
sent.

Change-Id: I81120c604f4e9f23b25d5a45a7b0294fea63d207
CRs-Fixed: 696825
Merge "post_proc: Fix improper datatype of EQ preset band level value"
Merge "hal: NULL pointer check before using audio_usecase"
Merge "hal: Add support for several DB8074 specific audio devices"
audio: Reject incall record request when call is not active

- If application selects AUDIO_SOURCE_VOICE_CALL when voice call is
  not active, audio HAL is selecting afe-proxy use case which is
  wrong. afe-proxy usecase/device expected to be selected during
  USB Voice call scenario only

- Fix is to fail opening the input stream with
  AUDIO_DEVICE_IN_TELEPHONY_RX or AUDIO_DEVICE_IN_VOICE_CALL if
  the call is not active

Change-Id: Iae2d25d192b3b5011dd45816778ffc03d3049449
Merge "audio: Reject incall record request when call is not active"
Correction of dolby format name from EAC3 to E_AC3

Change-Id: I0222fd5b3d78261215c3fa8f4abff990a130d0de
 audio: Avoid mic mute on proxy during call

 In voice call on USB headset , mute is applied on both
 RX and TX .
 Fix is to avoid muting on out PROXY to ensure the RX data
 written to USB hal without mute.

 CRs-Fixed: 763152

Change-Id: Icb84d8c68ba15b35884806b54c3a1daeb11b2bc2
mm-audio: aenc: make frame_count variable 64 bit

- After 71 minutes AAC encoding stops working
- The root cause is while calculating the time stamp
  of the frame a variable frame_count is 32 bit and
  it overflows which leads incorrect timestamp
  calculation which leads to stopping of AAC encoding
- To solve this make frame_count 64 bit variable

Change-Id: Iddb7c6c8fab53314d58bdf8651d5ede0c6ca8b80
CRs-Fixed: 707449
Merge "mm-audio: aenc: make frame_count variable 64 bit"
Merge "Correction of dolby format name from EAC3 to E_AC3"
Merge " audio: Avoid mic mute on proxy during call"
Revert " audio: Avoid mic mute on proxy during call"

This reverts commit c0ca209d9ff7167ec6cb361b60f77e9488711272

Change-Id: I8e05f5ca9ecc7df3df064f39ad691e10462d57d8
Merge "Revert " audio: Avoid mic mute on proxy during call""
audio: Avoid mute during AFE PROXY Usecase

Silence data is getting written from in_read when voice
call is muted with USB Headset connected. This resulting
in muting Rx path too along with Tx path in this
scenario. USB Voice call scenario, PROXY_IN device is
responsible for reading RX data. So not supposed to be
muted.

Fix is to avoid muting if the current use case is AFE_PROXY

CRs-Fixed: 763152

Change-Id: I1fbd5545f343cbaea865e941214be05791dec14e
Merge "audio: Avoid mute during AFE PROXY Usecase"
Merge "hal: codec calibration data using hwdep nodes"
audio: Reject incall record request when mode is not IN_CALL

- If application selects AUDIO_SOURCE_VOICE_CALL when voice call is
  not active, audio HAL is selecting afe-proxy use case which is
  wrong. afe-proxy usecase/device expected to be selected during
  USB Voice call scenario only

- Fix is to fail opening the input stream with
  AUDIO_DEVICE_IN_TELEPHONY_RX or AUDIO_DEVICE_IN_VOICE_CALL if
  current mode is not IN_CALL

CRs-Fixed: 772386
Change-Id: I8ee3e72daec86e26d05b01a117d7a01f7f6b69a8