#include /* * Do not use. This is a replacement for the old * "interruptible_sleep_on_timeout" function that has been * deprecated for ages. All users should instead try to use * wait_event_interruptible_timeout. */ static inline long oss_broken_sleep_on(wait_queue_head_t *q, long timeout) { DEFINE_WAIT(wait); prepare_to_wait(q, &wait, TASK_INTERRUPTIBLE); timeout = schedule_timeout(timeout); finish_wait(q, &wait); return timeout; } s-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo.ribalda@gmail.com>2017-01-27 15:59:30 +0100
committerWolfram Sang <wsa@the-dreams.de>2017-02-09 17:10:38 +0100
commitf43128c75202f29ee71aa83e6c320a911137c189 (patch)
tree85280695db72c8ae27f6c0c312a8573a4d756c80
parentd5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c (diff)
i2c: piix4: Fix request_region size
Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' we are using the SMBSLVCNT register at offset 0x8. We need to request it. Fixes: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC") Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>