Download raw body.
qwz: enable suspend/resume
This makes suspend/resume with qwz(4) work on my Samsung Galaxy Book4
Edge.
Ok?
Index: sys/dev/ic/qwz.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/qwz.c,v
diff -u -p -u -p -r1.38 qwz.c
--- sys/dev/ic/qwz.c 26 May 2026 14:55:16 -0000 1.38
+++ sys/dev/ic/qwz.c 7 Jun 2026 06:01:46 -0000
@@ -24857,8 +24857,14 @@ qwz_activate(struct device *self, int ac
qwz_stop(ifp);
rw_exit(&sc->ioctl_rwl);
}
+ if (sc->fw_initialized)
+ qwz_core_deinit(sc);
break;
case DVACT_RESUME:
+ err = qwz_hal_srng_init(sc);
+ if (err)
+ printf("%s: could not initialize hal\n",
+ sc->sc_dev.dv_xname);
break;
case DVACT_WAKEUP:
if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == IFF_UP) {
qwz: enable suspend/resume