Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 14:17:17 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 167032 for review
Message-ID:  <200908051417.n75EHHUQ047040@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167032

Change 167032 by hselasky@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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908051417.n75EHHUQ047040>