diff options
author | Mika Kuoppala <mika.kuoppala@nokia.com> | 2009-12-06 17:06:22 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:22 +0100 |
commit | 194684e596af4bdaebb424166d94a8aa528edfda (patch) | |
tree | 1a6b0ede432e8c9fb4f7a1652deb71044ff9aa50 /lib/devres.c | |
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>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions