radio-iris: Return hardware capabilities

- Radio iris isn't properly advertising its hardware capabilities to
  userspace which makes it look like radio is unsupported.
  Fix this so that userspace sees that radio is in fact supported
- Upadate the hardware capabilities while returning response to query
  device capabilities.

CRs-fixed: 512171
Change-Id: I52d6479cfc1e974735be5f835a0d564fb6d5c1d4
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
input: synaptics_i2c_rmi4: Release touch data before suspend.

Release all touch data before touch device switch to suspend
state.

Change-Id: I17d237cce5e6cb7e092a96e6b40524810849b510
Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org>
ARM: dts: msm: optimization to nt35521's on/off sequence

Optimize nt35521's init/uninit sequence, reduce the panel on
delay by 180ms, and reduce panel off delay by 170ms. This could
speed up display blank/unblank.

Change-Id: I4911df5b65753a2658d3585e4a16bdfa5373d44c
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
msm: kgsl: Turn on GPU clock before setting the control flag

Make sure the GPU clocks are turned on before the control flag
is set, otherwise the clocks can never be turned on afterwards.

Change-Id: I44458e11ae09ae2499c7c2d5334e5acd43261756
Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
msm: mdss: fix display lk to kernel transition issue

Earlier, during lk to kernel transition, display was
shut down and turned on again.  During shutdown, the
previously allocated overlay resource was released
and the vsync was disabled.  To distinguish between
normal shutdown and lk to kernel transition case,
a separate function is added to address the transition
use case.

Change-Id: Ib30abb4a0f97a46260dfd09ad91f59035794e45e
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
msm: kgsl: Bump the frequency all the way to turbo for long ibs.

Process the enormous chunks of data faster.

Change-Id: Idf3fd0bfddc1cd1ac00f87dd72e403b81d70b170
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
msm: mdss: sanitize histogram bin count

Ensure that histogram bin count value is sanitized,
this ensures that the length of data copied back to
user remains in check. This prevents excessive
data in kernel memory from being copied back to user.

Change-Id: I0f7787603bad950c0b187d8c38d4fa3366bc06b6
CRs-Fixed: 517476
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
arm/dt: msm8226: Add actuator support for IMX135 on msm8226

Add actuator support for IMX135 on msm8226.

Change-Id: I326164280cf01dbbbdd7c5c2ff383e345e152e31
Signed-off-by: Vasko Kalanoski <vaskok@codeaurora.org>
ASoC: msm: qdsp6v2: Add DTX support

Add support to set DTX mode ON/OFF for EVRCB, EVRCWB and
EVRCNW vocoder formats.

Change-Id: I1fcfdb39e22edd4063080be5a0451cb81dcdbdd5
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
msm: 8x26:Add active setting to SPI gpio on 8x26

8x26 spi gpios are having suspended setting
only and func_1 is configured as part of
suspended setting. It is causing to draw
some current.

CRs-Fixed: 539469

Change-Id: I2c1960236b9d805ef8ae8274ef3e2f4934ff8775
Signed-off-by: Venkat Raju Sana <c_vsana@codeaurora.org>
Signed-off-by: Sana Venkat Raju <c_vsana@codeaurora.org>
Sensors: remove the MPU3050 driver parent

Remove the MPU3040 gyroscope driver parent to allow the system
registers the driver in the "/sys/devices/virtual/input" folder.
The system will give the driver sysfs interface correct permission
according to the ueventd file.

CRs-Fixed: 510210
Change-Id: I957acc809005a06f6a8219140d8a4d609e46b435
Signed-off-by: Jie Cheng <rockiec@codeaurora.org>
ASoC: msm8x10: Add support for QCHAT voice session

This change is needed to support exclusive voice session
for QCHAT on msm8x10.

Change-Id: Ib28f2a3e13de0fc63704ed81cf49fc8eacfb3dcc
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
ASoC: msm: qdsp6v2: Set ADM sample rate to 48Khz for ULL

ULL copp can only operate at sample rate of 48Khz. BT SCO back end
sets sample rate is 8Khz. ADM open for  ULL fails when backend is
BT SCO. Set the sample rate to 48Khz when adm is opened for a ULL
device session.

Change-Id: I18f18466324eebf2a2c8884b6e531155707996f4
CRs-Fixed: 545401 545397
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
arm/dt: msm8226: Add Listen support in device tree

Listen feature in Audio is used for MIC activity
detection. This feature is used by client applications
to detect sound model and keywords from user. This change
enables Listen feature in MSM8x26 device tree.

Change-Id: I1adc0a3efbc4b0f3d668bf2674ee85a5ef528bb0
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
ASoC: msm: Add routing controls for SW Listen

Certain codecs will not have HW MAD that can be
used for Listen feature. In such cases Listen is
implemented using SW MAD in ADSP. This change will
enable user space to use SW MAD in ADSP.

Change-Id: I625c89d94889842523561bedf69a19683fa07608
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
ASoC: msm: qdsp6v2: Add support for EVRCNW format

Add changes to support VoIP call with EVRCNW audio format.

Change-Id: Iaaedbc6434cee4a59bf22c265bfe463df55a19fd
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
ASoC: msm: qdsp6v2: Add support to configure min and max rates

Add support to configure min and max frame rates for EVRC/EVRCB/
EVRCWB/EVRCNW codecs. This change is needed to support variable
length frames for VoIP calls.

Change-Id: Id17dd645b17b1b8c1dc21afcf20dbc7e2c9c0d30
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
ASoC: msm8226: Add support for QCHAT voice session

This change is needed to support exclusive voice session
for QCHAT on msm8226.

Change-Id: Id0d7b4acf8e0c4e73b3e7fe7b963a29e6a92113b
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
msm: rpm-smd: add missing kvp in sleep set

If there is a KVP that was not present in first sleepset
request and sent later, the same KVP is not updated to
the node in tree internally maintained

the kvp is added to the existing node

CRs-fixed: 546434
Change-Id: I43301f93fb48535e3d4a0833333568488a2c33d3
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
ARM: dts: msm: Add property to set internal UMS

For supporting multiple storage UMS(USB Mass Storage),
add a new property to set whether enable this feature
or not.

Change-Id: I61a4068758bcbac1e115fb38fe58f99eb406fb44
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>