[Sound-open-firmware] [PATCH] Incorrect trace variable name

Curtis Malainey cujomalainey at google.com
Thu Aug 3 22:08:47 CEST 2017


Minor debugging issue, when verbose trace is turned on it will not compile
because these variables are incorrect.
---
 src/audio/eq_fir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/audio/eq_fir.c b/src/audio/eq_fir.c
index ae87f92..41c6d38 100644
--- a/src/audio/eq_fir.c
+++ b/src/audio/eq_fir.c
@@ -323,9 +323,9 @@ static int eq_fir_cmd(struct comp_dev *dev, int cmd, void *data)
 			fir_update, PLATFORM_MAX_CHANNELS);
 
 		/* Print trace information */
-		tracev_value(iir_update->stream_max_channels);
+		tracev_value(fir_update->stream_max_channels);
 		for (i = 0; i < fir_update->stream_max_channels; i++)
-			tracev_value(iir_update->assign_response[i]);
+			tracev_value(fir_update->assign_response[i]);
 
 		break;
 	case COMP_CMD_EQ_FIR_CONFIG:
-- 
2.14.0.rc1.383.gd1ce394fe2-goog



More information about the Sound-open-firmware mailing list