common: remove pvrsrvinit binaries from proprietary files

Signed-off-by: Michael Scott <michael.scott@linaro.org>
audio: update function calls to L Android and mark unused parameters

Change-Id: I09eb794af9f78356fd2987785c1bacc5cd72d4dc
audio: replace low_power flag with screen_off

Change-Id: I9e0a36e25f64cb822e5198710dd2343aa59f48c7
audio_hw: remove unwanted mixer related code

We need not use mixer_open and mixer_close functions from HAL directly
since libaudioroute library functions (audio_route_init, audio_route_free)
used in HAL take care of handling mixer.

Change-Id: I47ac921ef6e7d07fffa8c0a7edf8f51bae045ed8
Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@linaro.org>
audio_hw: use appropriate output buffer

Take re-sampling into account while using the output buffer.

"in_buffer" pointer initially points to a original buffer.
If a re-sampler is used then it switches to re-sampler buffer.
Hence use "in_buffer" for writing PCM

Change-Id: Icf8987917916804b52d7caf4c8420d8e9e8b7e18
Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@linaro.org>
audio: add adev fields: written, cur_write_threshold and buffer_types handling

Pulled from grouper audio HAL for better output buffer handling

Change-Id: Ic2384bd881f0f22922f7191586c234732e976c9f
audio: re-work resampler and buffer allocations

Pulled from grouper audio HAL:
https://android.googlesource.com/device/asus/grouper/+/android-5.0.2_r1/audio/

Change-Id: I1be0b301162e3b7f0727ada38d7f6a608bf257ac
audio: update MIN_WRITE_SLEEP_US

Change-Id: I3ddf5201cdfe16f1015612d19790e51b9539e6a8
audio: adjust debug output

Change-Id: I9a0eff6854d78a5d0fc89a19ef4028dd055b0344
audio: deprecate audio_stream_frame_size()

Change-Id: I4662b73696b146f634277e349f5b5347ddb2b766
audio: fixed channel count determination from channel mask

Do not use popcount() to derive channel count from channel mask.

Change-Id: Iae50300f6a2168d66a210af535874d3b62e0be3a
audio: out_get_sample_rate: use pcm_config_out.rate instead of define

Change-Id: Ic4d05a8f96a54501b3c1bc97b179ccb3669e1761
audio: update out_get_latency for screen_off logic

Based on grouper audio HAL commit:
https://android.googlesource.com/device/asus/grouper/+/146ffa17ef96b5807f0d41b18f5a7fbe160d1626
Author: Eric Laurent <elaurent@google.com>

Change-Id: I7f954e49445624c47343eedd32b26754a2e33035
audio: move hardcoded defines/pcm structures into overridable include file

Change-Id: I4d936f3ee7fc997f09c1d61c5745a330578d396f
audio: remove depreciated BOARD flags for audio

Change-Id: I967e2aced3c95224965ba73bbef90f7c2709bd46
hdmi_audio: add local definition of AUDIO_CHANNEL_OUT_SURROUND

Change-Id: I46bb9427460cf5b6e4c7be8e86b17c4a70aa1980
common: add EXT4 and F2FS tools to omap4-common

(Removing these from individual devices)

Change-Id: I5706c9db313ce84e6d6ef6bab3895fddd0c870bd
common: add common init.omap4.rc

Each device init.*.rc includes "import init.omap4.rc" for common OMAP4 settings

Change-Id: Iaa841b1fd2cf0d55020bb7d32bfdca27f4b45013
common: if TWRP is present as alternate recovery, then use it

Change-Id: I3124b884c0442e5adce40034d9d20a7afddbe59d
common: update common OMAP4 properties

Change-Id: Ib36b8ebbd6bfc19e5a1a6b22ee7320f5b87999d1