commit | 5f9fddd9d5917a1ef95cc91dff79c04b09d9bbbd | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Mon Aug 30 20:50:09 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Aug 30 17:53:24 2021 -0400 |
tree | 5b4ac36d2eac4d1c37ea6dc535b8fe3495846e8f | |
parent | 35e7acb70345a2d791537a693e12554743540a46 [diff] |
drivers: sensor: adxl362: improve error handling Error handling was missing in numerous places, mostly on GPIO related callbacks. Some error codes were not correct (-EINVAL vs -ENODEV) and in some cases error was not propagated correctly. Fixes #38117 Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>