aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2022-07-11 07:47:16 -0700
committerJonathan Cameron <[email protected]>2022-07-18 18:29:13 +0100
commit0b4ae3f6d1210c11f9baf159009c7227eacf90f2 (patch)
tree64865906b0568150bf4c48b7a9d1806bc0195967 /tools/perf/scripts/python
parent0565d238b9b4abb7b904248d9064bea80ac706fe (diff)
iio: cros: Register FIFO callback after sensor is registered
Instead of registering callback to process sensor events right at initialization time, wait for the sensor to be register in the iio subsystem. Events can come at probe time (in case the kernel rebooted abruptly without switching the sensor off for instance), and be sent to IIO core before the sensor is fully registered. Fixes: aa984f1ba4a4 ("iio: cros_ec: Register to cros_ec_sensorhub when EC supports FIFO") Reported-by: Douglas Anderson <[email protected]> Signed-off-by: Gwendal Grignou <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions