mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
dsp: correct comparison condition for VSS_ICOMMON_RSP_GET_PARAM_V3
VSS_ICOMMON_RSP_GET_PARAM_V3 should be compared with opcode. Otherwise the if condition would always be true. Correct the comparison for VSS_ICOMMON_RSP_GET_PARAM_V3. Change-Id: I204c8c71e06b13332fd5b418a40b10618e19a901 Signed-off-by: Meng Wang <mwang@codeaurora.org>
This commit is contained in:
parent
4ccd0ee676
commit
e60843d16c
1 changed files with 2 additions and 2 deletions
|
|
@ -7591,7 +7591,7 @@ static int32_t qdsp_cvs_callback(struct apr_client_data *data, void *priv)
|
|||
} else if (data->opcode == VSS_ISTREAM_EVT_READY) {
|
||||
pr_debug("Recd VSS_ISTREAM_EVT_READY\n");
|
||||
} else if (data->opcode == VSS_ICOMMON_RSP_GET_PARAM ||
|
||||
VSS_ICOMMON_RSP_GET_PARAM_V3) {
|
||||
data->opcode == VSS_ICOMMON_RSP_GET_PARAM_V3) {
|
||||
pr_debug("%s: VSS_ICOMMON_RSP_GET_PARAM\n", __func__);
|
||||
ptr = data->payload;
|
||||
if (ptr[0] != 0) {
|
||||
|
|
@ -7823,7 +7823,7 @@ static int32_t qdsp_cvp_callback(struct apr_client_data *data, void *priv)
|
|||
}
|
||||
}
|
||||
} else if (data->opcode == VSS_ICOMMON_RSP_GET_PARAM ||
|
||||
VSS_ICOMMON_RSP_GET_PARAM_V3) {
|
||||
data->opcode == VSS_ICOMMON_RSP_GET_PARAM_V3) {
|
||||
pr_debug("%s: VSS_ICOMMON_RSP_GET_PARAM\n", __func__);
|
||||
ptr = data->payload;
|
||||
if (ptr[0] != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue