Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/dev/usb Pull up following revision(s) (requested by r...
details: https://anonhg.NetBSD.org/src/rev/24f7d40d5970
branches: netbsd-9
changeset: 984096:24f7d40d5970
user: martin <martin%NetBSD.org@localhost>
date: Mon Jun 21 17:15:38 2021 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #1302):
sys/dev/usb/ualea.c: revision 1.13
ualea(4): Null suspend/resume handler.
diffstat:
sys/dev/usb/ualea.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r c38fe85d2b3a -r 24f7d40d5970 sys/dev/usb/ualea.c
--- a/sys/dev/usb/ualea.c Mon Jun 21 17:11:46 2021 +0000
+++ b/sys/dev/usb/ualea.c Mon Jun 21 17:15:38 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ualea.c,v 1.9.10.2 2020/07/15 13:52:05 martin Exp $ */
+/* $NetBSD: ualea.c,v 1.9.10.3 2021/06/21 17:15:38 martin Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ualea.c,v 1.9.10.2 2020/07/15 13:52:05 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ualea.c,v 1.9.10.3 2021/06/21 17:15:38 martin Exp $");
#include <sys/types.h>
#include <sys/atomic.h>
@@ -144,6 +144,10 @@
return;
}
+ if (!pmf_device_register(self, NULL, NULL))
+ aprint_error_dev(sc->sc_dev, "failed to register power handler"
+ "\n");
+
/* Success! We are ready to run. */
mutex_enter(&sc->sc_lock);
sc->sc_attached = true;
Home |
Main Index |
Thread Index |
Old Index