Page MenuHomeFreeBSD

D22107.id.diff
No OneTemporary

D22107.id.diff

Index: head/sys/dev/ow/ow_temp.c
===================================================================
--- head/sys/dev/ow/ow_temp.c
+++ head/sys/dev/ow/ow_temp.c
@@ -143,7 +143,9 @@
pause("owtstart", device_get_unit(sc->dev) * hz / 100); // 10ms stagger
mtx_lock(&sc->temp_lock);
sc->flags |= OW_TEMP_RUNNING;
+ mtx_unlock(&sc->temp_lock);
ow_temp_read_power_supply(sc->dev, &sc->parasite);
+ mtx_lock(&sc->temp_lock);
if (sc->parasite)
device_printf(sc->dev, "Running in parasitic mode unsupported\n");
while ((sc->flags & OW_TEMP_DONE) == 0) {

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 31, 4:50 PM (4 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30641495
Default Alt Text
D22107.id.diff (560 B)

Event Timeline