Skip to content
Commit 194684e5 authored by Mika Kuoppala's avatar Mika Kuoppala Committed by Jean Delvare
Browse files

i2c: Prevent priority inversion on top of bus lock



Low priority thread holding the i2c bus mutex could block higher
priority threads to access the bus resulting in unacceptable
latencies. Change the mutex type to rt_mutex preventing priority
inversion.

Tested-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: default avatarMika Kuoppala <mika.kuoppala@nokia.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent a0c11cdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment