]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: use component prefix when checking widget names
authorShuming Fan <shumingf@realtek.com>
Mon, 8 Feb 2021 23:40:42 +0000 (17:40 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 10 Feb 2021 17:16:29 +0000 (17:16 +0000)
commitcce1d66e98c687cf1c3f9cf7b9d6708dc8957e44
tree755729a5a86c8233fedcd7989f87f7d4e78a79c8
parentb094f42b9384c8896f45369d7182f37aca98ea10
ASoC: dapm: use component prefix when checking widget names

On a TigerLake SoundWire platform, we see these warnings:

[   27.360086] rt5682 sdw:0:25d:5682:0: ASoC: DAPM unknown pin MICBIAS
[   27.360092] rt5682 sdw:0:25d:5682:0: ASoC: DAPM unknown pin Vref2

This is root-caused to the addition of a component prefix in the
machine driver. The tests in soc-dapm should account for a prefix
instead of reporting an invalid issue.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210208234043.59750-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c