From: Mika Kuoppala Date: Sun, 6 Dec 2009 16:06:22 +0000 (+0100) Subject: i2c: Prevent priority inversion on top of bus lock X-Git-Tag: v2.6.33-rc1~385^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=194684e596af4bdaebb424166d94a8aa528edfda;p=pandora-kernel.git 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 Signed-off-by: Mika Kuoppala Signed-off-by: Jean Delvare --- Reading git-diff-tree failed