]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message
authorColin Ian King <colin.i.king@gmail.com>
Tue, 2 Sep 2025 12:06:39 +0000 (13:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:35:42 +0000 (13:35 +0200)
commit04c39abd9114d25ddbe22ea7ca8ebb4184335be7
treeab08eac5a01e5da4f0491b50a141a4056cb917d5
parentede4f0ec7f427aadcc4a5a20b13fdebe338d2633
ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message

[ Upstream commit 35fc531a59694f24a2456569cf7d1a9c6436841c ]

The dev_err message is reporting an error about capture streams however
it is using the incorrect variable num_playback instead of num_capture.
Fix this by using the correct variable num_capture.

Fixes: a1d1e266b445 ("ASoC: SOF: Intel: Add Intel specific HDA stream operations")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20250902120639.2626861-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/intel/hda-stream.c