Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Don't block suspend when uslsa(4) is attached - ...
details: https://anonhg.NetBSD.org/src/rev/a41feb784adf
branches: trunk
changeset: 349618:a41feb784adf
user: maya <maya%NetBSD.org@localhost>
date: Fri Dec 16 14:56:34 2016 +0000
description:
Don't block suspend when uslsa(4) is attached - it works fine.
diffstat:
sys/dev/usb/uslsa.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r a6d55e1e9d9b -r a41feb784adf sys/dev/usb/uslsa.c
--- a/sys/dev/usb/uslsa.c Fri Dec 16 11:34:52 2016 +0000
+++ b/sys/dev/usb/uslsa.c Fri Dec 16 14:56:34 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uslsa.c,v 1.22 2016/11/25 12:56:29 skrll Exp $ */
+/* $NetBSD: uslsa.c,v 1.23 2016/12/16 14:56:34 maya Exp $ */
/* from ugensa.c */
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uslsa.c,v 1.22 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uslsa.c,v 1.23 2016/12/16 14:56:34 maya Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -241,6 +241,9 @@
sc->sc_subdev = config_found_sm_loc(self, "ucombus", NULL, &ucaa,
ucomprint, ucomsubmatch);
+ if (!pmf_device_register(self, NULL, NULL))
+ aprint_error_dev(self, "couldn't establish power handler\n");
+
return;
}
Home |
Main Index |
Thread Index |
Old Index