Check the return of i2c_burst_read return and in case of error return early and propagate the error. Fixes: #23294 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis3mdl_trigger.c | ||
| lis3mdl.c | ||
| lis3mdl.h | ||
Check the return of i2c_burst_read return and in case of error return early and propagate the error. Fixes: #23294 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis3mdl_trigger.c | ||
| lis3mdl.c | ||
| lis3mdl.h | ||