linux/sound/soc/intel
Pierre-Louis Bossart 69efe3b834
ASoC: Intel: boards: handle errors with acpi_dev_get_first_match_dev()
acpi_dev_get_first_match_dev() searches for an acpi_handle
instantiated by the ACPI table scanning done early during boot.

Two of three machine drivers using this search don't deal with errors
and the one which does (bytcr_rt5651) returns -ENODEV, which doesn't
make sense here: an alternate driver will not be probed.

Add consistent error handling and report -ENXIO.

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210813151116.23931-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-08-13 16:50:38 +01:00
..
atom Merge some cs42l42 patches into asoc-5.15 2021-08-06 01:46:24 +01:00
boards ASoC: Intel: boards: handle errors with acpi_dev_get_first_match_dev() 2021-08-13 16:50:38 +01:00
catpt ASoC: Intel: catpt: remove unneeded semicolon 2021-02-03 16:23:09 +00:00
common Merge series "soundwire/ASoC: add mockup codec support" from Bard Liao <yung-chuan.liao@linux.intel.com>: 2021-07-14 18:29:58 +01:00
keembay Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
skylake ASoC: intel: skylake: Drop superfluous mmap callback 2021-07-30 16:04:40 +01:00
Kconfig ASoC: Intel: KMB: Enable DMA transfer mode 2021-01-08 18:23:41 +00:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00