Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146310333
D26309.id76725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D26309.id76725.diff
View Options
Index: head/sys/dev/iicbus/twsi/twsi.c
===================================================================
--- head/sys/dev/iicbus/twsi/twsi.c
+++ head/sys/dev/iicbus/twsi/twsi.c
@@ -510,7 +510,7 @@
sc->control_val &= ~TWSI_CONTROL_ACK;
TWSI_WRITE(sc, sc->reg_control, sc->control_val | TWSI_CONTROL_START);
while (sc->error == 0 && sc->transfer != 0) {
- pause_sbt("twsi", SBT_1MS * 30, SBT_1MS, 0);
+ tsleep_sbt(sc, 0, "twsi", SBT_1MS * 30, SBT_1MS, 0);
}
debugf(sc->dev, "pause finish\n");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 2, 3:19 PM (7 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29162177
Default Alt Text
D26309.id76725.diff (508 B)
Attached To
Mode
D26309: twsi: use tsleep instead of pause for better responsiveness
Attached
Detach File
Event Timeline
Log In to Comment