ASoC: Intel: boards: get codec device with ACPI instead of bus search
[ Upstream commit d3409eb2 ] We have an existing 'adev' handle from which we can find the codec device, no need for an I2C bus search. Suggested-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210813151116.23931-4-pierre-louis.bossart@linux.intel.com Signed-off-by:
Mark Brown <broonie@kernel.org> Stable-dep-of: 72185882 ("ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading