summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDanilo Krummrich <danilokrummrich@dk-develop.de>2022-02-16 01:45:43 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-02-16 04:25:39 +0300
commit81b9fd6941ce6fc4b4127cc184e491adb615182e (patch)
treeb93652f1ba89efb64cf521007918b824eb939d3c /tools/perf/scripts/python/export-to-sqlite.py
parent6283cc9e7785e3df6160dbce4940b3a5925cb728 (diff)
downloadlinux-81b9fd6941ce6fc4b4127cc184e491adb615182e.tar.xz
Input: ps2-gpio - don't send rx data before the stop bit
Sending the data before processing the stop bit from the device already saves the data of the current xfer in case the stop bit is missed. However, when TX xfers are enabled this introduces a race condition when a peripheral driver using the bus immediately requests a TX xfer from IRQ context. Therefore the data must be send after receiving the stop bit, although it is possible the data is lost when missing the stop bit. Signed-off-by: Danilo Krummrich <danilokrummrich@dk-develop.de> Link: https://lore.kernel.org/r/20220215160208.34826-5-danilokrummrich@dk-develop.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions