[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251011143509-ddb58b57cf935caeb3294008-pchelkin@ispras>
Date: Sat, 11 Oct 2025 14:53:56 +0300
From: Fedor Pchelkin <pchelkin@...ras.ru>
To: Nikita Zhandarovich <n.zhandarovich@...tech.ru>,
Srinivas Kandagatla <srini@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, lvc-project@...uxtesting.org, linux-arm-msm@...r.kernel.org,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: q6apm: fix potential overflow in q6hdmi_hw_params
Hi,
On Wed, 01. Oct 13:13, Nikita Zhandarovich wrote:
> --- a/sound/soc/qcom/qdsp6/q6apm.h
> +++ b/sound/soc/qcom/qdsp6/q6apm.h
> @@ -14,9 +14,10 @@
> #include <linux/of_platform.h>
> #include <linux/jiffies.h>
> #include <linux/soc/qcom/apr.h>
> +#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
> #include "audioreach.h"
>
> -#define APM_PORT_MAX 127
> +#define APM_PORT_MAX DISPLAY_PORT_RX_7
(DISPLAY_PORT_RX_7 + 1), to be precise?
> #define APM_PORT_MAX_AUDIO_CHAN_CNT 8
> #define PCM_CHANNEL_NULL 0
> #define PCM_CHANNEL_FL 1 /* Front left channel. */
Powered by blists - more mailing lists