Messages in this thread | | | Date | Mon, 09 Dec 2019 20:16:49 -0800 (PST) | Subject | Re: [PATCH] NFC: nxp-nci: Fix probing without ACPI | From | David Miller <> |
| |
From: Stephan Gerhold <stephan@gerhold.net> Date: Mon, 9 Dec 2019 19:53:43 +0100
> devm_acpi_dev_add_driver_gpios() returns -ENXIO if CONFIG_ACPI > is disabled (e.g. on device tree platforms). > In this case, nxp-nci will silently fail to probe. > > The other NFC drivers only log a debug message if > devm_acpi_dev_add_driver_gpios() fails. > Do the same in nxp-nci to fix this problem. > > Fixes: ad0acfd69add ("NFC: nxp-nci: Get rid of code duplication in ->probe()") > Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Applied and queued up for v5.4 -stable, thanks.
| |