bluetooth: bulk update to the CAF drivers

Change-Id: Iacd9fe4a54ec783e6fff1f767f7ca264a79cc246
board-monarudo: Rename msm_serial_hs_brcm to msm_serial_hs.

Change-Id: I79e04e0c189523988c8be2f95dcb8cb7fbe9a882
Add bluedroid compatible bluesleep and utilize it.

Change-Id: Ib6b7ccb5037823ae54c4fc988ebce935366b444c
Update defconfig

Change-Id: I2f11f393b057543f4976f719ad86ffec66cabb75
msm_fb: hdmi: Resolution modes on HDMI

Add a new header file that lists all supported
HDMI resolution modes and the associated timing
information.

CRs-Fixed: 470335
Change-Id: I971422ddb97e3b219cc682032eb67212b434daab
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm: rotator: sync point support Add MSM_ROTATOR_IOCTL_BUFFER_SYNC ioctl interface. Rotator will create a timeline for each session at START, wait for input fence and create released fence in this ioctl call, signal the timeline after rotation is done.

Change-Id: I4682b0891e996111d97c345a97d5ce81ffb31c7d
rt5501: Reduce gain to -6dB, turn additonal noise gate on
bluetooth: Add low-power mode to support Bluedroid
* Add wake_peer hooks to wake up the msm_serial_hs device

Change-Id: Ia3640b5f583d82dfdff532a6cbbad046af65171d
bluetooth: Fix race conditions in BT LPM
* Use workqueues and fix bugs in bluesleep (similar to JF).

Change-Id: I68fc82d73a7cde196cb67ee3f869197eaf3faa9d
bluetooth: Fix unusued variable warnings in bluesleep_bcm

Change-Id: I49d70cfb2eb0cca95acaabdb452db7487b86dfdb
board-monarudo-gpu: Increase bus freq at lowest GPU frequency

1000 MBPS is too low for a 1920x1080 panel.  This results in
major UI responsiveness issues when the GPU is at lowest frequency, and
odd behavior from the GPU load measurement algorithm - low load
reported despite awful performance.  At 1500 MBPS bus speed, UI
responsiveness issues at lowest frequency disappear and the GPU will scale
properly when it needs to.

Change-Id: Icd28b1c398e00803ea811a7f0cbb4e89280210d1
ASoc: msm: Increase default buffersize to 4k for audio playback

- Increase default buffersize to 4k from 2k for audio playback
  when HAL is configured with deep buffer output.

bug-id: 7129131
Signed-off-by: SathishKumar Mani <smani@codeaurora.org>
 msm-pcm-q6: Add support for flexible recording period size

- Current implementation supports only fixed buffer size
  of 320 bytes only for audio recording. This results in
  performance overhead for recording at higher sample rate.
- Added support for flexible period size so that user can
  use larger buffers for recording at higher sample rates.

Change-Id: Iddf544d2aa14d7608476a26dbcc0b37e2e7bc266
Signed-off-by: SathishKumar Mani<smani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
ASoC: msm: Modify default buffer params of compressed driver

There can be a use case where HAL may request for
Smaller period size and corresponding buffer size for
A session, update compressed driver default period size
And buffer size based on the userspace configuration

Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
(cherry picked from commit d4e62aeb8839cf9accf2356568a14adb8d24152f)
(cherry picked from commit 462a09e10e32afb49ca50bdbfb8c4a4e13cc068a)

Change-Id: Id1aef6c71c5c71b269b6607816f7c3e5c4fd4314
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-compr-q6.c
ASoC: msm: reduce period_bytes_min for voice call

- Allow smaller buffer size for voice call to
  comply with MR1 audio HAL

Change-Id: Iaffca753ad07889b08ae4b6154e8d596950a979e
Signed-off-by: Mingming Yin <mingming@codeaurora.org>
ASoC: msm: Modify min and max period bytes and num periods

Modify min and max period bytes and number of periods in
compressed driver so as to be consistent with lpa and to
meet ION memory requirements. This avoids using huge
buffer sizes for tunnel decode.

Change-Id: Ib71da4cebfc097e7aeaf0ca0e65ee847ba7cceb7
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-compr-q6.c
ASoC: msm: Decrease the playback period size of PCM driver

To support the deep buffer output, the playback buffer size is
increased to 4k from 2k. Reverting the change as the support for
deep buffer output is no longer valid.

Change-Id: I5034245bde4b55a5816506fbdfeac970a8e7804b
CRs-Fixed: 438177
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
msm: dlx: set GPIOs used by msm_serial_hs

Change-Id: I6c4907ce9f95d3fd389579389b9d30dcca6d8a0e
msm_fb: Set backlight during resume after first display commit

Set the backlight after resume only after the first display
commit is done. This will avoid panel specific transients to
show up on the panel during its initialization. Also, avoid
backlight scaling during resume until backlight is set.
msm_serial_hs: bulk update from CodeAurora

CodeAurora tag: AU_LINUX_ANDROID_JB_2.5.04.02.02.040.282

Change-Id: I75d3133f7eb541640dd58279e018c3932253290c

Conflicts:
	arch/arm/mach-msm/board-monarudo.c
	drivers/tty/serial/msm_serial_hs.c