Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFC: nxp-nci: Fix probing without ACPI
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: ad0acfd ("NFC: nxp-nci: Get rid of code duplication in ->probe()") Cc: Andy Shevchenko <[email protected]> Signed-off-by: Stephan Gerhold <[email protected]> Acked-by: Andy Shevchenko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information