msm: ultrasound: fix potential memory leak in usf driver

A previously allocated memory was not being released in certain conditions.

Change-Id: Ia204fc6ec6f0df30c518f5b04be80e154c422471
Signed-off-by: Rani Khoury <rkhoury@codeaurora.org>
ASoC: msm: Add AUX PCM interface dai links

Add AUX PCM interface dai links in the machine driver.

Change-Id: I650c52ca75a12a5f93255256defb4a66fd7a7c52
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
ASoC: msm: move AUX PCM frontend dai link to end of the list.

Due to AUX PCM dai link added in the middle of frontend
dai list existing usecases which use this index are breaking,
hence moving the AUX PCM to end of the list.

Change-Id: I9c5a908ea385daa3b2b27e25f50dd7896a580851
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
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>
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>