PERFORCE change 167032 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed Aug 5 14:17:19 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=167032

Change 167032 by hselasky at hselasky_laptop001 on 2009/08/05 14:17:08

	
	USB input:
	 - don't need to assert Giant at attach

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/input/ukbd.c#28 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/input/ukbd.c#28 (text+ko) ====

@@ -841,7 +841,7 @@
 	}
 
 	/* ignore if SETIDLE fails, hence it is not crucial */
-	err = usbd_req_set_idle(sc->sc_udev, &Giant, sc->sc_iface_index, 0, 0);
+	err = usbd_req_set_idle(sc->sc_udev, NULL, sc->sc_iface_index, 0, 0);
 
 	ukbd_ioctl(kbd, KDSETLED, (caddr_t)&sc->sc_state);
 


More information about the p4-projects mailing list