Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: testunit: discard write requests while old command is running
[ Upstream commit c116dea ] 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: b39ab96 ("i2c: testunit: add support for block process calls") Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information