diff options
author | Stephan Gerhold <[email protected]> | 2019-12-09 19:53:43 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-12-09 20:15:17 -0800 |
commit | 868afbaca1e2a7923e48b5e8c07be34660525db5 (patch) | |
tree | 1790982eb3be4a743397a6f36deb864d635395c5 /tools/perf/scripts/python/stat-cpi.py | |
parent | 991a34593bad5047420d281737b074cc6f821af4 (diff) |
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: ad0acfd69add ("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]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions