msm: qdsp: fix aac encoder configuration validation

Unsupported encoder configuration was getting forwarded to
DSP causing encode failure at latter stage.
Corrected encoder validation logic which would throw
error for unsupported configuration values and would use
default conf in such cases, preventing failure at latter
stage where error from dsp cannot be handled gracefully.
Also updated userspace to driver format mapping.

CRs-Fixed: 621150
Change-Id: Id049425ac12fa076ad2891f563da67a103630383
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
msm: Allow native driver to communicate with APR

Add a new driver to expose IOCTLs for userspace clients
to use to communicate directly with APR. This will allow
clients to directly interact with services such MVM, CVS,
etc.

Change-Id: Icc75b01e19b757d7da81f143fc10f09185e92d31
Signed-off-by: Vicky Sehrawat <vickys@codeaurora.org>

Conflicts:
	include/sound/Kbuild
msm: Fix for audio loss during WLAN & LTE call handover

Current APR implementation doesn't support session based
multiple service registrations. The apr_deregister()
function sets the destination and client IDs to zero, if
deregister is called for a single service instance.
Fix this by registering for dummy services in voice SVC
driver.

CRs-fixed: 690921
Change-Id: I36ffee5102df25b3309032b64db7cd4c3dc0be1e
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>