diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2019-09-06 08:55:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 13:13:54 +0200 |
commit | 38b24f688d6479fd12f61087c96b435645f06336 (patch) | |
tree | 30fab9771383121bfbe3201ca732bd853cf5aeab /fs | |
parent | a7963f92406db6d85816b9a7cd2df6477ea7b42c (diff) | |
download | linux-stable-38b24f688d6479fd12f61087c96b435645f06336.tar.gz linux-stable-38b24f688d6479fd12f61087c96b435645f06336.tar.bz2 linux-stable-38b24f688d6479fd12f61087c96b435645f06336.zip |
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 'fs')
0 files changed, 0 insertions, 0 deletions