mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "dsp: q6adm: Resolve mem corruption in adm cb"
This commit is contained in:
commit
259e975f99
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
#include <linux/slab.h>
|
||||
|
|
@ -1668,7 +1668,7 @@ static int32_t adm_callback(struct apr_client_data *data, void *priv)
|
|||
{
|
||||
uint32_t *payload;
|
||||
int port_idx, copp_idx, idx, client_id;
|
||||
int num_modules;
|
||||
uint32_t num_modules;
|
||||
int ret;
|
||||
int payload_size = 0, i = 0;
|
||||
struct msm_adsp_event_data *pp_event_package = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue