]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sof_es8336: get codec device with ACPI instead of bus search
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 8 Mar 2022 19:26:02 +0000 (13:26 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 9 Mar 2022 13:30:25 +0000 (13:30 +0000)
commitb03a93cfed22aac13e9f2c417f0cea5237aca127
treef864f814b9523584f4551e0e309ab739e8941925
parent87efaf1c49d3b4e883f7e5ef79f721c823bf714c
ASoC: Intel: sof_es8336: get codec device with ACPI instead of bus search

We have an existing 'adev' handle from which we can find the codec
device, no need for an I2C bus search.

This change aligns this driver will all other I2S-based machine
drivers.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220308192610.392950-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_es8336.c