Switch to Google ToolChain GCC 4.8
Cleanup. we dont have CONFIG_CPU_MAX_LIMIT
ASoC: wcd9320: Prevent calling PA event unnecessarily during ANC

When Headphone ANC is enabled, do not call the headphone PA event
in pre-power down case, only in post-power down.
Headphone PA event will only process this call in post-power
down case.

Change-Id: I61ba96ae038c2e0aa4dc3d01048f33e6a5e97d86
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
ASoC: wcd9xxx: Update soundcontrol for refactored codec core driver
ASoC: wcd9xxx: Report lineout immediately

If extension cable is inserted into the jack, it
is taking 5 sec to report the insertion. Reduce
this delay by reporting high headphone immediately.

Change-Id: I904f232ede585c39c6b600692ddb8750b848ebcd
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
ASoC: wcd9xxx: Notify mbhc when TX1/IN1 path is enabled

Notification is sent to mbhc whenever TX1/IN1 path is used
for audio capture. MBHC then will switch to VDDIO if headset
is inserted. This is to avoid polling noise that gets captured
in the recorded audio due to noise coupling in hardware b/w
TX2 and TX1 paths.

Change-Id: Iac40f41572d1417d2afdc55438d86c047710824f
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
ASoC: wcd9xxx: Maintain micbias for headsets with threshold on mic

There are headsets that require to maintain  micbias while
it's plugged since mic of headsets have threshold to turn
on mic. Maintain micbias when this type of headset is detected
in order to detect headset button press.

CRs-Fixed: 587697
Change-Id: Ie2bc622d4336ab9b772cd996db84b569dacd9bf6
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
ASoC: wcd9xxx: Add support for MBHC 5-pole plug detection

Add support to determine the presence of second microphone
on a 5-pole plug used for active noise cancellation.

Change-Id: I85227a00c47fed1d0e4453b77902c1b473097a5b
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
ASoC: wcd9xxx: Mute during Impedance detection

Verify HPH PA state before disabling PA to avoid mute
during headset impedance detection

CRs-Fixed: 578022
Change-Id: I156410c92507b20690c7576bed830563107c0d22
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
ASoC: wcd9320: remove runtime PM voting

All the codec reads/writes go through slimbus satellite driver on APPS.
Slimbus satellite driver is already voting for slimbus clock before any
codec read or write so remove the vote from codec driver

Change-Id: If54f33739ff82b9388fa9417ef0f6152a4cddeea
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
ALSA: jack: Add support to report second microphone

ALSA jack framework currently supports reporting only
one microphone. Add support to report presence of
second microphone to the userspace.

Change-Id: Id0df7aa222e547da3771f5d61092a959394c10dc
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Revert "Enable pipe flag."

This reverts commit 35f5adaadf3b3bce2a8e00230126ae020f7b3eed.
Revert " ARM: dts: Modify BKE limiting for Krait master"

This reverts commit 7ccd885243f00fdcbd097b72648d3485a155407e.
Revert "DTSi: merge msm8974-bus.dtsi with updated version from LG v11g kernel source"

This reverts commit 9f87fbf9fd409a7b0c0ca86ae5dcb4e25ba5ffc5.
Revert "arch/arm/Kconfig: enable unaligned capability for ARM"

This reverts commit 2f949ba8a9e7873e673acc37b69c548561854c20.
Config Update. remove CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
Mute Touch Screen DMESG logs.