msm: display: clear sec_active when the pipe is not for secure

Make sure usecure memory is unmapped properly

Change-Id: Ie0f2bc586ab4de45ceaaa6834db64ba7b94b2c0b
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Merge "msm: display: clear sec_active when the pipe is not for secure"
ASOC: msm: Increase max buffer size for compressed driver

- Increased max buffer size for compressed driver to
  support playback of 192K clips and period count 16

CRs-Fixed: 498277
Change-Id: I3ce8517c57567e790819ec2c0bca0b2f52446f38
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
ASoC: msm: Fix the noise in HDMI on HDMI connect disconnect

Pops and long squeak sounds are heard during the resolution switch
on some monitors
The noise is due to the playback of the stale data in the end device.
To workaround the issue, a silence has to be played all the times to
clear out the end device buffers.
Open a playback session with the HDMI device, this will cause a underrun
in the AFE port whenver the no audio playback is in progress.
This underrun will trigger silence packets at the AFE port and will
clear out the end device stale buffers

CRs-Fixed: 498791
Change-Id: I0d41ba5196f3a195bfed32527b17d3f7e23388a7
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Merge "ASOC: msm: Increase max buffer size for compressed driver"
Bluetooth: Add support for getting battery level

This patch adds support to retrieving battery information from HID Input
Report of Remote Device. The retrieved battery level is converted to
percentage using the battery minimum and battery maximum sent in HID
Report descriptor of Device. If there is a change in battery level
an event is sent to BlueZ user space using the management socket.

CRs-Fixed: 522195
Change-Id: I7bb301ec16f904d06e52d1626ab73f8e90e508fb
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
Merge "ASoC: msm: Fix the noise in HDMI on HDMI connect disconnect"
msm_fb:hdmi:Dont call mutex lock twice.

Mutex lock is getting called twice in the same function
which is causing lock up of power_ctrl function in resume
scenario and hence system is not able to resume from
PM suspend.

Change-Id: Ia4812abeb71e8febc67a9e3c4fcd722dcaf3d3d0
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Merge "Bluetooth: Add support for getting battery level"
msm_fb: hdmi: play silence audio to reset TV

Some TV goes to bad state that will cause audio noise.
Playing a piece of silence audio can reset it.

CRs-fixed: 498791

Change-Id: Idcbaf8a115fb564fe2c16fdb6bee7e63002c1987
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Merge "msm_fb:hdmi:Dont call mutex lock twice."
Merge "msm_fb: hdmi: play silence audio to reset TV"