mirror of
https://github.com/openbsd/src.git
synced 2026-06-18 15:23:33 +02:00
Use the real sc address for tsleep identification instead of the stack
pointer address. ok deraadt@
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ietp.c,v 1.3 2024/08/18 03:25:04 deraadt Exp $ */
|
||||
/* $OpenBSD: ietp.c,v 1.4 2026/05/23 05:11:32 mglocker Exp $ */
|
||||
/*
|
||||
* Elan I2C Touchpad driver
|
||||
*
|
||||
@@ -334,7 +334,7 @@ ietp_sleep(struct ietp_softc *sc, int ms)
|
||||
if (cold)
|
||||
delay(ms * 1000);
|
||||
else
|
||||
tsleep_nsec(&sc, PWAIT, "ietp", MSEC_TO_NSEC(ms));
|
||||
tsleep_nsec(sc, PWAIT, "ietp", MSEC_TO_NSEC(ms));
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ihidev.c,v 1.41 2025/10/28 15:36:46 jcs Exp $ */
|
||||
/* $OpenBSD: ihidev.c,v 1.42 2026/05/23 05:11:32 mglocker Exp $ */
|
||||
/*
|
||||
* HID-over-i2c driver
|
||||
*
|
||||
@@ -300,7 +300,7 @@ ihidev_sleep(struct ihidev_softc *sc, int ms)
|
||||
if (cold)
|
||||
delay(ms * 1000);
|
||||
else
|
||||
tsleep_nsec(&sc, PWAIT, "ihidev", MSEC_TO_NSEC(ms));
|
||||
tsleep_nsec(sc, PWAIT, "ihidev", MSEC_TO_NSEC(ms));
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user