Merge 6f701cbfdf4ab62ec9ebf13b8fa1990719726f7b on remote branch

Change-Id: Ib8d31190cf2446516f7f679aacced4816fe40431
Merge "msm: vidc: recover from firmware fatal error"
devfreq: governor_cpubw_hwmon: Fix use of decay_rate

The decay rate tunable is used to compute the current averaged bandwidth
use, but the calculated value is never used. Fix this by using the
calculated averaged bandwidth instead of the instantaneous measured
bandwidth when computing the AB and IB votes.

Change-Id: Ic0ba3ce0d98f0ec185349fe6d86c4af26f222ff2
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
ASoC: msm: qdsp6v2: fix possible integer overflow

Check integer overflow before multiplying struct size. If that happens
should return immediately. In addition if param length is greater than
MAX size from spec, better return error.

Change-Id: Ib96cb419ade042d21a1213f6d8c2ff339f5d1c56
CRs-fixed: 605273
Signed-off-by: Fred Oh <fred@codeaurora.org>
msm: vidc: fix a race condition in cluster construction

At start of video session, when the super cluster is
constructed, it refers to a global static variable.
If we have multiple instances running simultaneously,
there exists a race condition, causing the instance
to register wrong cluster. Later on when a control
gets set in encoder, if the control is not found in
the cluster, we hit a BUG_ON, crashing the device.

Change-Id: Ib4ee64d684d903bb4f22310a1b34619728405649
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
qseecom: add support to clear key for per file encryption

Make a KMS change to support just clear pipe key without deleting it
from ssd storage. Key id definitions for FDE and PDE are also updated.

Change-Id: I7c4804902a7a734087374c81ff0fd95655d84429
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Merge "qseecom: add support to clear key for per file encryption"
Merge "ASoC: msm: qdsp6v2: fix possible integer overflow"
Merge "msm: vidc: fix a race condition in cluster construction"
Merge "hwmon: qpnp-adc-current: Add temperature compensation"
Merge "ARM: dts: msm: Add phandle to read PMIC rev-id"
Merge "qpnp-pmic: revid: Add PMIC revision ID support"
Merge "hwmon: qpnp-adc: add PM8110 2.0 temperature compensation info"
Merge "hwmon: qpnp-adc-current: fix current compensation direction"
Merge "hwmon: qpnp-adc-current: log the compensation coefficients"
Merge "hwmon: qpnp-adc-current: Add temperature compensation"
Merge "hwmon: qpnp-adc-voltage: Add temperature compensation"
Merge "hwmon: qpnp-adc-voltage: Modify temperature compensation"
Merge "hwmon: qpnp-adc-current: Fix offset channel selection"
Merge "hwmon: qpnp-adc-current: Fix specifying batfet status"