diff --git a/asoc/qcs405.c b/asoc/qcs405.c index 8b012c6c7ccd..0cdc7268a9d7 100644 --- a/asoc/qcs405.c +++ b/asoc/qcs405.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2022,2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include #include @@ -7376,7 +7376,7 @@ static void msm_meta_mi2s_snd_shutdown(struct snd_pcm_substream *substream) pr_debug("%s(): substream = %s stream = %d\n", __func__, substream->name, substream->stream); - if (index < PRIM_MI2S || index >= MI2S_MAX) { + if (index < PRIM_MI2S || index >= META_MI2S_MAX) { pr_err("%s:invalid MI2S DAI(%d)\n", __func__, index); return; }