Files
Pierre-Louis Bossart 28b2ec0662 soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter
[ Upstream commit dc90bbefa7 ]

In the existing definition of sdw_stream_runtime, the 'type' member is
never set and defaults to PCM. To prepare for the BPT/BRA support, we
need to special-case streams and make use of the 'type'.

No functional change for now, the implicit PCM type is now explicit.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Tested-by: shumingf@realtek.com
Link: https://lore.kernel.org/r/20250227140615.8147-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Stable-dep-of: bcba172793 ("ASoC: qcom: sdw: fix memory leak for sdw_stream_runtime")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-08 10:15:04 +01:00
..
2023-04-26 15:43:19 -07:00
2024-08-26 16:13:20 -06:00
2024-09-05 12:13:39 +02:00
2024-05-02 10:02:29 -06:00
2024-04-18 16:20:48 +02:00
2023-07-08 11:05:05 -04:00
2023-07-24 12:12:24 +02:00
2024-05-10 11:15:21 -06:00
2022-06-10 15:38:14 +02:00
2024-05-02 10:02:29 -06:00