]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcht_es8316: fix HID handling
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 11 Jan 2018 19:52:08 +0000 (13:52 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jan 2018 21:05:17 +0000 (21:05 +0000)
commit7c97d1383598c593a48dc5677db8b716054765c5
tree2608eb3c2e627e4bf3acfbec857d3c818261ea89
parent42f0f26797f1927c0de18f824093a2fc5c1731f1
ASoC: Intel: bytcht_es8316: fix HID handling

Same problem as with previous machine drivers, the codec dai
uses a hard-coded name of "i2c-ESSX8316:00" but ACPI provides
"i2c-ESSX8316:01" in some systems.

Fix by overriding the hard-coded value with the codec name derived
from the HID information

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=189261
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/bytcht_es8316.c