aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBiswarup Pal <[email protected]>2023-05-01 20:19:19 -0700
committerDmitry Torokhov <[email protected]>2023-05-01 20:22:11 -0700
commit3a2df60200a03f78173f1fd831aa54c08464dcde (patch)
treeb913630b0e5539c6e9d1954bd99a191f8f945791 /drivers/fpga/fpga-mgr.c
parent9780432158de0a0da88c3b506d6bdf63da43bc75 (diff)
Input: uinput - allow injecting event times
Currently, uinput doesn't use the input_set_timestamp API, so any event injected using uinput is not accurately timestamped in terms of measuring when the actual event happened. Hence, call the input_set_timestamp API from uinput in order to provide a more accurate sense of time for the event. Propagate only the timestamps which are a) positive, b) within a pre-defined offset (10 secs) from the current time, and c) not in the future. Signed-off-by: Biswarup Pal <[email protected]> Reviewed-by: Peter Hutterer <[email protected]> Reviewed-by: Siarhei Vishniakou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions