diff options
| author | Carlos Song <[email protected]> | 2024-11-16 15:29:45 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-12-07 17:13:25 +0000 |
| commit | fa13ac6cdf9b6c358e7d77c29fb60145c7a87965 (patch) | |
| tree | fabc4e73884eec935e1b8741e7256db3a2f8266d /net/unix/af_unix.c | |
| parent | iio: test : check null return of kunit_kmalloc in iio_rescale_test_scale (diff) | |
| download | kernel-fa13ac6cdf9b6c358e7d77c29fb60145c7a87965.tar.gz kernel-fa13ac6cdf9b6c358e7d77c29fb60145c7a87965.zip | |
iio: gyro: fxas21002c: Fix missing data update in trigger handler
The fxas21002c_trigger_handler() may fail to acquire sample data because
the runtime PM enters the autosuspend state and sensor can not return
sample data in standby mode..
Resume the sensor before reading the sample data into the buffer within the
trigger handler. After the data is read, place the sensor back into the
autosuspend state.
Fixes: a0701b6263ae ("iio: gyro: add core driver for fxas21002c")
Signed-off-by: Carlos Song <[email protected]>
Signed-off-by: Frank Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
