diff options
| author | Lorenzo Bianconi <[email protected]> | 2019-10-06 15:22:00 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-10-15 21:11:05 +0100 |
| commit | 84b2e7c319b8e9707c9c62eeeaf9cf937ef36cbd (patch) | |
| tree | d06667483b000bb399197de111338413464fa4b8 /tools/perf/scripts/python | |
| parent | 66b662a1760e4c21af6f3aaf8dd575363c174473 (diff) | |
iio: imu: st_lsm6dsx: always check enable_reg in st_lsm6dsx_event_setup
Check if enable_reg of event_settings data structure is defined before
writing on it
Fixes: b5969abfa8b8 ("iio: imu: st_lsm6dsx: add motion events")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Tested-by: Sean Nyekjaer <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions