Skip to content
Commit fc89a85c authored by Wei-Tai Lee's avatar Wei-Tai Lee Committed by Carles Cufí
Browse files

drivers: i2c: add thread-safe semaphore



Add a semaphore to ensure that only one transaction
happens at a time when threads want to transfer
simultaneously.

Signed-off-by: default avatarWei-Tai Lee <wtlee@andestech.com>
parent 1ca75e3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment