msm: wlan: db.txt: enable mid 5GHz channels of WORLD reg domain

Patch enables the mid 5GHz channels for passive scanning on
WORLD regulatory domain.

Change-Id: I0e5b2a04afaa39b94a05e072ec1979e7d9ca0d14
CRs-Fixed: 614247
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>
msm: camera: fix which prevent of memory corruption in CSI

fix which prevent memory corruption and overwriting
of csiphy_device and csid_device structures in CSI

Change-Id: Ife1c35eaaae1be4ef897ab771ed6373c697d8c3d
Signed-off-by: Vasko Kalanoski <vaskok@codeaurora.org>
msm: camera: fix which prevent of memory corruption in CCI

fix which prevent memory corruption and overwriting
of cci_device structure in CCI

Change-Id: Id034086e4e2a1cbe22e8ccec9b7fe3ce06fd0400
Signed-off-by: Vasko Kalanoski <vaskok@codeaurora.org>
msm: camera: sensor: populate addr type of registers in actuator

populate address type of registers which will be written in
actuator init function

Change-Id: I013b61baab1605191c28d7131be7904db7585581
Signed-off-by: Vasko Kalanoski <vaskok@codeaurora.org>
crypto: msm: Add support for FIPS complience

FIPS140-2 certification asks to do a Power on Known Answer tests on each
algorithm which is getting certified. This patch implements the self tests
and hardcoded test vectors.  Also, we need to verify the integrity of
kernel as soon as it boots up. This patch also adds an ioctl for
integrity test along with ioctl to query FIPS status (pass / fail) from
user land.
also, The piece of code is added for FIPS compliance DRBG under
drivers/char/hw_random
This change is already merged to KK mainline.

Change-Id: I7f3355602d5c2dfaefce0c0e4f9225fde0c5f485
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
crypto: msm: Compilation flag in  Kconfig For FIPS

Added a FIPS_ENABLE flag under drivers/crypto/Kconfig
which will be enabled/disabled according to defconfig
file selection of CONFIG_FIPS_ENABLE
This change is already merged to KK mainline.

Change-Id: I8d2c1278598e255027e4427483ed9d4e684b2839
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
msm: camera-isp: Clear register to call halt twice

Calling Halt twice causes timeout. To avoid the timeout
while calling halt we need to clear the global reset register

Change-Id: I96430815fdc588e62224e2d77d46a5316559c30d
Signed-off-by: Megha Tak <mtak@codeaurora.org>
diag: Update SSIDs, event ids and log codes

The SSIDs, event IDs and log codes have fallen out of date.
Bring the SSIDs, event IDs and log codes up to date.

Change-Id: I8e6a2af8baba359f32a489ddc06f619de826f97b
Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>
Signed-off-by: c_prados <prados@codeaurora.org>
qseecom: Add support to handle multiple app load & unload

Media server is associated with multiple apps on TZ-side.
Unloading a single app for clean up is not enought. QSEECOM
needs to handle the app load & unload of multiple apps
associated with the client. During app_load & app_unload
along with app_id, app_name should also be checked. Besides,
keymaster will not be unloaded and app search execution
during app unload is optimized.

Change-Id: Ie92e97b9154851b713a8c3394b8ed10fdbdebd2f
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: William Clark <wclark@codeaurora.org>
ASoC: msm: qdsp6v2: Add a new waitqueue state for mem map/unmap

All of the commands being sent to the DSP are using cmd_state flag
which can be overwritten when several commands are sent at the same
time. This results in Memory map command timing out. The change will
separate the memory flag from flags for other commands so that they
do not overwrite each other.

CRs-fixed: 673781
Change-Id: I61e059f402feb2c4e1e3dbed1825990456e78471
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
msm: mdss: Add missing break for recovery case in dsi event handler

Add break for recovery handler case in dsi event handler
to fix suspend resume issue seen in command mode panel.

Change-Id: I6999b6bc52010a802d211292e5476aad626fda2c
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
pwm: qpnp: correct LUT mode LPG disable steps

Modify the pwm-qpnp driver in order to remove RAMP_CONTROL
register writes during LPG disable while in LUT mode.

This is needed to fix the LED blink functionality
when LPG enable/disable operations are performed continously.

CRs-Fixed: 593837
Change-Id: I915eb7620902911ef8d3f8d44c9b75986bc69bd1
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Merge "msm: mdss: Add missing break for recovery case in dsi event handler"
Merge "msm: camera: fix which prevent of memory corruption in CSI"
Merge "msm: camera: fix which prevent of memory corruption in CCI"
Merge "msm: camera: sensor: populate addr type of registers in actuator"
Merge "msm: camera-isp: Clear register to call halt twice"
Merge "diag: Update SSIDs, event ids and log codes"
Merge "msm: wlan: db.txt: enable mid 5GHz channels of WORLD reg domain"
Merge "ASoC: msm: qdsp6v2: Add a new waitqueue state for mem map/unmap"