commit | 194684e596af4bdaebb424166d94a8aa528edfda | [log] [tgz] |
---|---|---|
author | Mika Kuoppala <mika.kuoppala@nokia.com> | Sun Dec 06 17:06:22 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Sun Dec 06 17:06:22 2009 +0100 |
tree | 1a6b0ede432e8c9fb4f7a1652deb71044ff9aa50 | |
parent | a0c11cdd6a1975fd8d6d186f2e2865a82f3e9bbf [diff] |
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: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@nokia.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>