]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcr_rt5651: Not being able to find the codec ACPI-dev is an error
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Mar 2018 14:35:58 +0000 (15:35 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Mar 2018 12:55:40 +0000 (12:55 +0000)
commit8a845629732cd79b70a6c84451b6b9a72f8ccc26
tree08ae6aeb5535b53619c39392b1e3d9d5bb8a4f9b
parent05a71976438ce14c75900b931a0a4aa0dc701eb0
ASoC: Intel: bytcr_rt5651: Not being able to find the codec ACPI-dev is an error

If we cannot find the codec ACPI-dev, then the snd-soc-core will not be
able to find the codec either and snd_soc_register_card() will just keep
exiting with -EPROBE_DEFER, filling the log with errors each time the
probe gets retried.

Instead simply log an error from the machine driver and exit with -ENODEV.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c