summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCarlos Song <carlos.song@nxp.com>2024-11-16 10:29:45 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-07 17:13:25 +0000
commitfa13ac6cdf9b6c358e7d77c29fb60145c7a87965 (patch)
treefabc4e73884eec935e1b8741e7256db3a2f8266d /tools/perf/scripts/python/export-to-sqlite.py
parentaaa90d0751071d38f3e74c4e14bc1083abcb0c15 (diff)
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 <carlos.song@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20241116152945.4006374-1-Frank.Li@nxp.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions