Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/usb
Module Name: src
Committed By: riastradh
Date: Fri Dec 31 14:24:06 UTC 2021
Modified Files:
src/sys/dev/usb: ukbd.c
Log Message:
ukbd(4): Avoid races in LED setting on attach.
- Don't reuse sc_delay for LED task -- a keyboard interrupt shortly
after attach might reset sc_delay so that the LEDs never get turned
back off.
- Don't turn the LEDs back off after attach if something else has
already changed them by the time the callout fires.
(And make sure to callout_halt before done this time!)
To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/dev/usb/ukbd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index