14 Feb
2023
14 Feb
'23
10:26 p.m.
On Tue, Feb 14, 2023 at 10:14:28AM -0800, Lars-Peter Clausen wrote:
On 2/14/23 08:14, Claudiu Beznea wrote:
@@ -450,6 +450,8 @@ int snd_dmaengine_pcm_register(struct device *dev, else driver = &dmaengine_pcm_component;
- driver->start_dma_last = config->start_dma_last;
This will break if you have multiple sound cards in the system. dmaengine_pcm_component must stay const.
Right, if we need to modify it we either need to select which of multiple const structs to register or to take a copy and modify that. I've not looked at the actual changes yet.