Searched hist:"81 b9fd6941ce6fc4b4127cc184e491adb615182e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/serio/ |
H A D | ps2-gpio.c | diff 81b9fd6941ce6fc4b4127cc184e491adb615182e Tue Feb 15 16:45:43 CST 2022 Danilo Krummrich <danilokrummrich@dk-develop.de> 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>
|