bluetooth: Add low-power mode to support Bluedroid * Add wake_peer hooks to wake up the msm_serial_hs device

Change-Id: Ia3640b5f583d82dfdff532a6cbbad046af65171d

Signed-off-by: tako0910 <tako.oct0910@gmail.com>
Signed-off-by: caplio <github@snugplace.net>
bluetooth: Fix race conditions in BT LPM * Use workqueues and fix bugs in bluesleep (similar to JF).

Change-Id: I68fc82d73a7cde196cb67ee3f869197eaf3faa9d

Signed-off-by: tako0910 <tako.oct0910@gmail.com>
Signed-off-by: caplio <github@snugplace.net>
bluetooth: Fix race conditions in BT LPM 2

Change-Id: I3465ccaba84912ecd4fcee6d27fd0604954214f9

Signed-off-by: tako0910 <tako.oct0910@gmail.com>
Signed-off-by: caplio <github@snugplace.net>
bluetooth: Fix unusued variable warnings in bluesleep_bcm

Change-Id: I49d70cfb2eb0cca95acaabdb452db7487b86dfdb

Signed-off-by: caplio <github@snugplace.net>
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>
Signed-off-by: caplio <github@snugplace.net>
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>
Signed-off-by: caplio <github@snugplace.net>
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
Signed-off-by: caplio <github@snugplace.net>
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>
Signed-off-by: caplio <github@snugplace.net>
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
Signed-off-by: caplio <github@snugplace.net>
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>
Signed-off-by: caplio <github@snugplace.net>
msm: dlx: set GPIOs used by msm_serial_hs

Signed-off-by: caplio <github@snugplace.net>
Fix compile error for dlxj

Signed-off-by: caplio <github@snugplace.net>