https://github.com/torvalds/linux
Revision ebf2ef8f613433aaffac53aef2f6703445821fc6 authored by Andy Shevchenko on 10 February 2015, 17:06:10 UTC, committed by Wolfram Sang on 07 March 2015, 00:08:26 UTC
This patch marks baytrail_i2c_acquire() that it might sleep. Also it chages
while-loop to do-while and, though it is matter of taste, gives a chance to
check one more time before report a timeout.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 30be774
History
Tip revision: ebf2ef8f613433aaffac53aef2f6703445821fc6 authored by Andy Shevchenko on 10 February 2015, 17:06:10 UTC
i2c: designware-baytrail: baytrail_i2c_acquire() might sleep
Tip revision: ebf2ef8
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.3 KB
msg.c -rw-r--r-- 23.2 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.0 KB
sem.c -rw-r--r-- 55.2 KB
shm.c -rw-r--r-- 32.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.1 KB
util.h -rw-r--r-- 6.4 KB

back to top