diff options
author | Danilo Krummrich <[email protected]> | 2022-02-15 14:45:43 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2022-02-15 17:25:39 -0800 |
commit | 81b9fd6941ce6fc4b4127cc184e491adb615182e (patch) | |
tree | b93652f1ba89efb64cf521007918b824eb939d3c /lib/mpi/mpi-cmp.c | |
parent | 6283cc9e7785e3df6160dbce4940b3a5925cb728 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions