Take into account the return code of the bus_init function and propagate codes from the init* functions to the user instead of hardcoded -EIO. While at it set the ERROR level message to the logs. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lsm6dsl_i2c.c | ||
| lsm6dsl_shub.c | ||
| lsm6dsl_spi.c | ||
| lsm6dsl_trigger.c | ||
| lsm6dsl.c | ||
| lsm6dsl.h | ||