aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-06-27 13:14:48 +0200
committerWolfram Sang <wsa+renesas@sang-engineering.com>2024-06-28 20:44:38 +0200
commitc116deafd1a5cc1e9739099eb32114e90623209c (patch)
tree47bc3d206cedf276a726c0144ed65c0e4e63d68d /net/unix/garbage.c
parentc422b6a630240f706063e0ecbb894aa8491b1fa1 (diff)
i2c: testunit: discard write requests while old command is running
When clearing registers on new write requests was added, the protection for currently running commands was missed leading to concurrent access to the testunit registers. Check the flag beforehand. Fixes: b39ab96aa894 ("i2c: testunit: add support for block process calls") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions