From 8c3f79680a1665a0879bc6d674cd7e12e4bc68a0 Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Thu, 13 Feb 2020 11:14:58 +0530 Subject: [PATCH] dsp: Correct the instance ID assignment in IIR sidetone In set param for IIR sidetone in AFE, instance ID assignment is done to param ID. Correct the assigment to fix this. Change-Id: I3fc6011631a6b581facddc9c417e219ed25cc3a4 Signed-off-by: Aditya Bavanari --- dsp/q6afe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsp/q6afe.c b/dsp/q6afe.c index 1a1e87604a26..5db408c9dc96 100644 --- a/dsp/q6afe.c +++ b/dsp/q6afe.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. */ #include #include @@ -6855,7 +6855,7 @@ static int afe_sidetone_iir(u16 tx_port_id) * Set IIR enable params */ param_hdr.module_id = mid; - param_hdr.param_id = INSTANCE_ID_0; + param_hdr.instance_id = INSTANCE_ID_0; param_hdr.param_id = AFE_PARAM_ID_ENABLE; param_hdr.param_size = sizeof(enable); enable.enable = iir_enable;