ASoC: DMI long name - avoid to add board name if matches with product name
authorJaroslav Kysela <perex@perex.cz>
Wed, 20 Nov 2019 17:44:35 +0000 (18:44 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 22 Nov 2019 19:54:50 +0000 (19:54 +0000)
commit39870b0dec68ed7dd814beb697e541670975c7d8
tree6802b34020311555c17390850cbec125df69908d
parent4e01e5dbba96f731119f3f1a6bf51b54c98c5940
ASoC: DMI long name - avoid to add board name if matches with product name

Current code:

  LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC

With the patch:

  LENOVO-20QE000VMC-ThinkPadX1Carbon7th

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20191120174435.30920-2-perex@perex.cz
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c