diff options
author | Peter Ujfalusi | 2019-09-06 08:55:24 +0300 |
---|---|---|
committer | Mark Brown | 2019-09-09 10:47:10 +0100 |
commit | 2ec42f3147e1610716f184b02e65d7f493eed925 (patch) | |
tree | 2f586a2b1bb43bac7fb48da934e365d9f92a1006 /arch/m68k | |
parent | a2dc6f82fd86fa165222f6062e2478fd122f9f1c (diff) |
ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions