Revert "ASoC: WCD9304: Fix pop level during start of recording"

This reverts commit e11f472d330f392a5e5fa752f94a9a79d587aae2.
Revert "ASoC: wcd9304: avoid decrementing active channel count if already zero"

This reverts commit ced1ad3ad7bdd504cc2dd9a3a012020028c3f2bc.
ASoC: wcd9310: Fix HPHL DAC path disable sequence

When headset is removed codec driver clears the
dac_ref_en bit, which causes the DAPM framework
to keep HPHL DAC path connected.
This change returns the ownership of clearing the
dac_ref_en bit to DAPM framework and fixes the HPHL DAC
path disablement issue when headset is removed.

Change-Id: Iad73634d5584914eb536d849066418e873540e6f
CRs-fixed: 427137
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
ASoC: wcd9310: Update compander configuration sequence

Update compander configuration sequence for headphone path
to prevent the concurreny of ANC and compander in addition
to bypass the delay buffer for ANC and class G to avoid the
audio delay change between class G enabled and disable modes.

CRs-fixed: 456565
Change-Id: I561cb878906b9e31d8c1b04c145c533090f80f1f
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Perf: Add L1 counters to tracepoints

Create a new tracepoint to get L1 PMU counter
information at every context switch. Counters
are captured only when the tracepoint is enabled
via perf or ftrace.

Change-Id: If05527b29e04c700170cfdf9f88d300b2f558ffa
Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/perf_debug.c
msm: fix in-tree compilation for perf_trace_counters

In-tree compilation for arch/arm/mach-msm/perf_trace_counters.c was
hitting this error:

    In file included from arch/arm/mach-msm/perf_trace_counters.h:127:0,
                     from arch/arm/mach-msm/perf_trace_counters.c:14:
    include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory

Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
"the path is relative to define_trace.h, not the file including it".
Fix in-tree compilation by making the path relative to define_trace.h.

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>