msm: audio: qdsp6v2: Add size safety check to ACDB driver

Check that the size sent by userspace is not larger
then the internal amount allowed. This protects
against overflowing the stack due to an invalid size.

Change-Id: I8230fdb00a7b57d398929e8ab0eb6587476f3db1
CRs-fixed: 470222
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
ASoC:msm: Enabling TTY for VoLTE call

Enabled TTY for VoLTE call. Earlier TTY feature is not
supported for VoLTE call.

Change-Id: If5e3436504f40c3e782bf79a16547be068f6b27e
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
msm: kgsl: Don't access context memory after it's freed

Context memory was potentially accessed after being freed. Fix this
by incrementing the context's refcount at strategic places.

Change-Id: I31049bdd3eb9ac52160ca593619fcc8a32d4ddee
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
msm_fb: hdmi: change HDMI_PHY_REG1 based on foundry.

Set value of HDMI_PHY_REG1[2:0] for output voltage swing control,
to prevent fallout for Vlow for GF foundry MSM's.

Change-Id: Ifb0f694226896fa1ad74dd84fb489f015901fc3e
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
Signed-off-by: Mukesh Jha <cmjha@codeaurora.org>
msm: camera: Enable CAMIF SOF in case of non dual camera usecase.

When Dual camera usecase is enabled, the ISPIF PIX SOF is enabled
by default to synchronize with the RDI interfaces.
But in non dual camera usecases, use CAMIF SOF IRQ to increment
the frame IDs being embedded inside the output frames.
Sometimes the SOF IRQs of frame 'n' is clubbed along with the
Output IRQs of the frame 'n-1'. Thus although the output IRQs
are supposed for frame 'n-1' it results in a frame ID of 'n' which
will cause incorrect behaviour downstream. Correct this behaviour
by checking the SOF and Output status bits in the IRQ Mask and
adjust the frame ID accordingly.

CRs-Fixed: 481721
Change-Id: If7a9db2337febf10e89d44c58b9d980d874c69b6
Signed-off-by: Sai Kumar Sanagavarapu <ssanagav@codeaurora.org>
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
Merge "msm_fb: hdmi: change HDMI_PHY_REG1 based on foundry."
power: pm8xxx-ccadc: Cancel/schedule the calibration work in suspend/resume

Cancel the ccadc calibration work in suspend as there is
a possibility that the device can suspend while executing
the calib work. This may lead to an incomplete hardware
configuration.

CRs-Fixed: 487268
Change-Id: I86dfffeaa7a60784d16243ffd7273c3dc8571bda
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Merge "msm: kgsl: Don't access context memory after it's freed"
Merge "ASoC:msm: Enabling TTY for VoLTE call"
Merge "msm: camera: Enable CAMIF SOF in case of non dual camera usecase."
msm: camera: register settings for OV8825 sensor

Added a new mode with 1080P resolution for camcoder. so
this mode will be a new addition to already existing quarter
and full size resolutions on sensor ov8825.

CRs-Fixed: 483233
CRs-Fixed: 487310

Change-Id: I23414cab27db6afe827b2af675c1762df73e736c
Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Merge "msm: audio: qdsp6v2: Add size safety check to ACDB driver"
Merge "power: pm8xxx-ccadc: Cancel/schedule the calibration work in suspend/resume"
Merge "msm: camera: register settings for OV8825 sensor"