summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2019-09-06 08:55:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 15:12:05 +0200
commit7407d0a392072fa915f46d313a0a7c7f362a6e1d (patch)
tree2f761c1a596de478a7efd3a7aa5673aa23fd6c19 /tools
parent005d9ec550d3bb284eda8b00111b7adc60dc5c77 (diff)
ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
[ Upstream commit 2ec42f3147e1610716f184b02e65d7f493eed925 ] Some tools use the snd_pcm_info_get_name() to try to identify PCMs or for other purposes. Currently it is left empty with the dmaengine-pcm, in this case copy the pcm->id string as pcm->name. For example IGT is using this to find the HDMI PCM for testing audio on it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reported-by: Arthur She <arthur.she@linaro.org> Link: https://lore.kernel.org/r/20190906055524.7393-1-peter.ujfalusi@ti.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions