summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2025-04-23 15:05:06 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 14:20:28 +0100
commite50cf7e2e6e0e1fe106384eab938faf712e6230f (patch)
treef872b441f0acd3050058871695d07cbeaa5a10b1 /scripts/gdb/linux/utils.py
parent50ed17cdfd7f32f1b0f87da0aaabcd5e8dd23f19 (diff)
iio: cros_ec_sensors: Flush when changing the FIFO timeout
|hwfifo_timeout| is used by the EC firmware only when new samples are available. When the timeout changes, espcially when the new timeout is shorter than the current one, send the samples waiting in the FIFO to the host. Inline the call to transmit |hwfifo_timeout| value to the firmware. Now flush when a sensor is suspended (ODR set to 0) as well. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Link: https://patch.msgid.link/20250423220506.2061021-1-gwendal@chromium.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions