HomeFreeBSD

ums(4): Do not stop USB xfers on FIFO close when evdev is still active

Description

ums(4): Do not stop USB xfers on FIFO close when evdev is still active

This fixes lose of evdev events after moused has been killed.

While here use bitwise operations for UMS_EVDEV_OPENED flag.

Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D30342

(cherry picked from commit 05ab03a31798d4cc96c22a8f30b1d9a0d7a3dd35)

Details

Provenance
wulfAuthored on May 23 2021, 10:38 PM
Reviewer
hselasky
Differential Revision
D30342: ums(4): Do not stop USB xfers on FIFO close when evdev is still active
Parents
rG927742783f9e: ums(4): Start USB xfers on opening of evdev node unconditionally.
Branches
Unknown
Tags
Unknown