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)
committerMark Brown <broonie@kernel.org>
Tue, 2 Sep 2025 13:37:32 +0000 (14:37 +0100)
commit35fc531a59694f24a2456569cf7d1a9c6436841c
tree9348b8cf87e90cb85d4dd0853485941ff8880c77
parent0c28431f6fe13f3a3be0978f79c1a7ae8a93d028
ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message

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>
sound/soc/sof/intel/hda-stream.c