radio-tavarua: Configure channel spacing for enhanced search

Enhanced search algorithm detects 50Khz channel spacing frequencies
in a band with 100khz channel spacing.
Update channel spacing for enhanced Search algorithm on WCN2243 2.1.

Change-Id: If133895e33679a1bc84df8d25841e7e13aa36629
CRs-Fixed: 450643
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
spi_qsd: DM mode support for different fifo sizes

SPI driver doesn't support different block size in
DM mode because based on assumption that GSBI tx&rx
FIFOs are of same size. Some GSBI configuration
can have different tx/rx fifo size. Tx/Rx fifo size
is defined based on input/output block size.

Adds support for different rx/tx fifo size in
case of DMA transaction.

CRs-Fixed: 452986
Change-Id: Ie86f487ea97037ed14e9838a3bd52dfe95f56974
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
ASoC: msm8930: Update gpio values for sglte platform

-Add support for update value for sglte spkr boost
-Add support for new GPIO value for headset

Change-Id: I4e58c54dea3cd144d1c08e817b4062febcf67fca
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
msm: display: msm_fb: Fix hang when framework is rebooted in suspend mode.

Currently, if framework is rebooted while in suspend mode, system hangs
permanently. With this fix, framework will be rebooted successfully even in
suspend mode.

Change-Id: If86ed2613f05454c28a9474ca813f3cfb7cb1069
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>

Conflicts:
	drivers/video/msm/msm_fb.c
msm: camera: kernel driver for sensor imx135

Change-Id: I39bee3e011c93ceda5dea4a75e05d31b2d5da191
Signed-off-by: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>

Conflicts:
	arch/arm/configs/msm8960_defconfig
	arch/arm/mach-msm/board-8960-camera.c
	drivers/media/video/msm/Kconfig
	drivers/media/video/msm/sensors/Makefile
msm: camera: Add support for diverting RDI frames.

Add provision for RDI frames to be diverted to userspace. This may be
used if there is a need for some kind of processing to be done on the
sensor output.

Signed-off-by: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>

Conflicts:

	include/media/msm_camera.h

Change-Id: I069e9b9ca642e69fef4db0f31e6cc3138c5f2987
Signed-off-by: Praveen Ac <praveenac@codeaurora.org>

Conflicts:

	include/media/msm_camera.h

Signed-off-by: Praveen Ac <praveenac@codeaurora.org>

Conflicts:
	drivers/media/video/msm/msm_mctl_pp.c
	include/media/msm_camera.h
msm: remove obsolete DMM code and config options

DMM is no longer supported, but there were still fragments
of the DMM support dependent on the obsolete config options
CONFIG_ENABLE_DMM and CONFIG_FIX_MOVABLE_ZONE present.
Remove these config options and the associated code.

Change-Id: I01c715c8d9c65eebc7ff123a8a0878166b606e0c
CRs-fixed: 460735
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
msm_fb: display: add mfd null pointer and mfd panel_power_on checks

These checks are necessary for the situations where display is off but
vsync ctrl enable or disable is still called.

CRs-Fixed: 462586
Change-Id: I2ee43ff323da38359f3bff28669df19b87d8343d
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
power: pm8921-charger: decrease the index by 1 except for case 0

The purpose is to get index of [0..3] instead of [0..4].

Change-Id: I736312f04edbd889ac325fe8d0180f9a38c816ca
Signed-off-by: Willie Ruan <wruan@codeaurora.org>
Merge "msm_fb: display: don't enable blt mode"
net: rmnet_usb: initialize rmnet before registering with usb

registering with usb before initializing rmnet can trigger
interface probe before rmnet is initialized and can lead to crash.

Change-Id: I51a0b22a210a5878ff21910cdf436b5231f16308
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
Merge "msm: remove obsolete DMM code and config options"
Conflicts:
	arch/arm/mach-msm/board-8064.c
	arch/arm/mach-msm/board-8930.c
	arch/arm/mach-msm/board-8960.c
Asoc: msm: Set the right topology during in call voice recording

Obsereved silence in incall voice recording with dual mic, when fluence is
enabled.Fluence topology is applied even on audio recording path.Default topology
is set for incall voice recording.

CRs-Fixed: 454359
Change-Id: I9d34f00e424355fdc183ce1a5769c4083b6ae6a7
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
msm: audio: qdsp6v2: Fix seek issue in tunnel player

- Seeking to 0 position during tunnel playback, music stream
  jumps to incorrect postion.
- Initial buffer after seek to new position is corrupted as
  flush ioctl is not synchronous. Ioctl FLUSH is posting
  CMD_FLUSH to DSP, but WRITE_DONE to user space are posted
  even before it receives FLUSH ack from DSP.
- Fix is to wait for FLUSH ack from DSP, then post the
  WRITE_DONE events to user space, which will ensure FLUSH
  is completely handled.

CRs-Fixed: 425420,458910
Change-Id: Ieca3353dba3a67af39a2967659034f073acf5277
Signed-off-by: Deepa Madiregama <dmadireg@codeaurora.org>
msm_fb: display: Wait for DMAE for external interface (DTV)

When calling FBIOPAN_DISPLAY for external, there is no wait
which results in irregular fps when tested with fbtest.
Enable DMAE wait to wait until DMAE is over thereby fixing
irregular fps shown in fbtest results.

Crs-fixed: 438078
Change-Id: Iff528ccc17a1e4078c8825b35d4778a7d9e40e7f
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>

Conflicts:
	drivers/video/msm/mdp4_overlay_dtv.c
msm: board-8960: Remove non-secure allocation exception

Previously it was necessary to allow non-secure allocations from the
CP heap for the msm8960 target. That is no longer the case. Remove the
exception.

CRs-fixed: 456964
Change-Id: Ib88c55344f41337b3d85e665e8e59caec7706e5e
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: mdm: modify qsc power up sequence on sglte2 platform

The sglte2 platform has an external qsc modem that is powered
up by asserting two pmic gpios from the apps processor. One gpio
is connected to PS_HOLD on the pmic of the qsc modem and needs to
be pulled high when the apps processor boots up. The other gpio
emulates a keypad power keypress and needs to be asserted only
when the qsc is powered up for the first time. The PS_HOLD gpio
can be toggled later to perform a soft reset of the qsc.

The keypad gpio may be inverted on some platforms so add a flag to
platform data so that this can be indicated to the kernel driver.

Change-Id: I5fdcf5f9ed867a6178b1a4f782e4cc65951831c3
Signed-off-by: Joel King <joelking@codeaurora.org>
ASoc: msm: update the pending buffer flags in underrun

Update the pending buffer flag on a driver underrun.
This causes a drain call to be rejected if the underrun
happens immediately after an EOS buffer has been given to the DSP
following a flush

CRs-Fixed: 463332
Change-Id: I2ba224a49e5af14ca909300afc0788cb4b21eb16
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-compr-q6.c
Revert "msm: cpufreq: Remove cross-calling limitation"

This reverts commit be01a17afb6b6e85456217caa1ac11eb0b6674e1.

Re-introduce cross calling in cpufreq to prevent race conditions in the
hardware when changing PLLs.

A core could be in retention, while another core, could try and set the
frequency of the core in retention, causing a change in PLL and when the
core exits retention, the PLL mismatch could hang the SPM state machine.

Change-Id: I99b454a0f146652f2d8a369f79f6d35748160dcb
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
usb: serial: csvt: Fix control signal definitions

The carrier detect and ring indicator control signals are defined
incorrectly.  Fix it.  The USB CDC specification did not define
CTS signal.  Assume CTS is always high.

CRs-Fixed: 458326
Change-Id: Ie005261fe89f32fcdb145dd09dcc4bbfb4ce3fc1
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>