msm: audio: qdsp6v2: Change ASM cmd sequence

- Memory map failure observed while music playback.
- Audio driver issuing memory unmap cmd first then issuing
  ASM_CMD_CLOSE, due to which memory map failure observed.
- Issue unnmap cmd after receiving the ack for ASM_CMD_CLOSE.

Change-Id: I454095fcc0eff332ca90cfe3ae6ba9c859f315f4
Signed-off-by: Deepa Madiregama <dmadireg@codeaurora.org>
defconfig: Enable TUN driver support

Enable TUN driver support required in Android VPN service.

CRs-Fixed: 388834
Change-Id: I82235fae091eb8a08bc6420d0e58e90d2929a441
Signed-off-by: Vineela Tummalapalli <vineela@codeaurora.org>
Bluetooth: Send Disconnection reason to Bluez

Send device disconnection reason to bluez on receiving the
diconnection complete event so that low energy profiles
such as proximity can decide to reconnect if the reason
is link loss.

CRs-fixed: 378240
Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>
(cherry picked from commit da09d26a75ee1c7c1911dcfbe0128fd09f6631f4)

Change-Id: I5fb2041c34922dab95a483b3409553d3be5b5042
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: qdsp5: Fix for crash in mp3 driver

When resource allocation fails during mp3 playback, a crash
is observed. When such failure occurs, the driver tries to
access a handle that was never initialized. This is due
to missing flag check to determine whether there was any
memory allocation or not prior to failure. Added flag in error
cases to avoid such issues.

CRs-fixed: 394671
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
(cherry picked from commit d098938af6a47eaa6efa48b1285136de172a7709)

Change-Id: Ifd2764619f0a0ff74e7062f30b5aff8c09b2192d
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
Merge "msm: qdsp5: Fix for crash in mp3 driver" into jb_chocolate
msm: vidc: suppress non-fatal error messages.

These messages are non-fatal and appear frequently
during video session. Hence suppressing them.

CRs-fixed: 389408
Signed-off-by: Arun Menon <menon@codeaurora.org>
(cherry picked from commit 24631e349a3f306cc3b06fb411d5fb1f7ac8f0ae)

Conflicts:

	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_shared_mem.c
	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.c

Change-Id: Ifb874912ac79c863ed8fc531272d3822d8aebebe
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
mmc: msm_sdcc: Print data line status in case of errors

The MCI_TEST_INPUT register of the SDC controller depicts the status
of the data lines (if pulled down or not). Print its state in cases of
errors to isolate any device specific issues.

CRs-fixed: 392889
Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
(cherry picked from commit 74bff7cf272ebebc04de8e99a216c32519df52fa)

Change-Id: I7bc93958025d62f05922d53ad4ad08c19df9dab5
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
Merge "msm: vidc: suppress non-fatal error messages."
Merge "mmc: msm_sdcc: Print data line status in case of errors"
Merge "msm: audio: qdsp6v2: Change ASM cmd sequence"
Merge "Bluetooth: Send Disconnection reason to Bluez"
Merge "defconfig: Enable TUN driver support"
Merge tag 'M8960AAAAANLYA106303' into jellybean

M8960AAAAANLYA106303

Conflicts:
	arch/arm/mach-msm/qdsp6v2/audio_lpa.c
	arch/arm/mach-msm/qdsp6v2/audio_utils_aio.c
	drivers/mmc/host/msm_sdcc.c