ASoC: dmaengine_pcm: Allow passing component name via config
authorMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 14:11:12 +0000 (14:11 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 14:11:12 +0000 (14:11 +0000)
commit37d6983992bc103d9be3d0b5ebfae8c7118f4373
tree229efe77ec02584ff9154c360f8a6c82ed367e16
parentd7e6a980ddb26d2008d0392f1de4e8d2ea0df067
parentcee28113db17f0de58df0eaea4e2756c404ee01f
ASoC: dmaengine_pcm: Allow passing component name via config

Merge series from Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>:

At the moment we cannot instantiate two dmaengine_pcms with the same
parent device, as the components will be named the same, leading to
conflicts.

Add 'name' field to the snd_dmaengine_pcm_config, and use that (if
defined) as the component name instead of deriving the component name
from the device.