[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250114184314.3583-1-laurentiumihalcea111@gmail.com>
Date: Tue, 14 Jan 2025 13:43:13 -0500
From: Laurentiu Mihalcea <laurentiumihalcea111@...il.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/1] fix priv->dai_props indexing
From: Laurentiu Mihalcea <laurentiu.mihalcea@....com>
Fix priv->dai_props indexing in simple-card-utils.c by introducing
a new macro: runtime_simple_priv_to_props() that can be used when
dealing with PCM runtime data as rtd->id may be invalid.
Changes since RFC:
- added comment that should help clarify when the new macro
should be used
- Link to RFC: https://lore.kernel.org/lkml/20241220151213.2462-1-laurentiumihalcea111@gmail.com/
Laurentiu Mihalcea (1):
ASoC: simple-card-utils: fix priv->dai_props indexing
include/sound/simple_card_utils.h | 7 +++++++
sound/soc/generic/simple-card-utils.c | 10 +++++-----
2 files changed, 12 insertions(+), 5 deletions(-)
--
2.34.1
Powered by blists - more mailing lists