Commit dc90bbe
soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter
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>1 parent df896e4 commit dc90bbe
File tree
4 files changed
+7
-5
lines changed- Documentation/driver-api/soundwire
- drivers/soundwire
- include/linux/soundwire
- sound/soc/qcom
4 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1806 | 1806 | | |
1807 | 1807 | | |
1808 | 1808 | | |
| 1809 | + | |
1809 | 1810 | | |
1810 | 1811 | | |
1811 | 1812 | | |
1812 | 1813 | | |
1813 | 1814 | | |
1814 | | - | |
| 1815 | + | |
1815 | 1816 | | |
1816 | 1817 | | |
1817 | 1818 | | |
| |||
1823 | 1824 | | |
1824 | 1825 | | |
1825 | 1826 | | |
| 1827 | + | |
1826 | 1828 | | |
1827 | 1829 | | |
1828 | 1830 | | |
| |||
1851 | 1853 | | |
1852 | 1854 | | |
1853 | 1855 | | |
1854 | | - | |
| 1856 | + | |
1855 | 1857 | | |
1856 | 1858 | | |
1857 | 1859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments