It's not possible to call umcs_get_status() in interrupt context
authormpi <mpi@openbsd.org>
Tue, 14 Apr 2015 14:38:17 +0000 (14:38 +0000)
committermpi <mpi@openbsd.org>
Tue, 14 Apr 2015 14:38:17 +0000 (14:38 +0000)
commit364e4a0c586c456ef13eb58ddb983c4166b741d0
tree328b55ce72fe63873a9fe45ae7035f578c4362f3
parent3514aacb12cd53d08a534cba9ff3e1d3c10a51ed
It's not possible to call umcs_get_status() in interrupt context
because it submits synchronous transfers, so schedule a task when
necessary.
sys/dev/usb/umcs.c