Date: Sun, 13 Jun 2021 22:02:47 GMT From: Vladimir Kondratyev <wulf@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 927742783f9e - stable/13 - ums(4): Start USB xfers on opening of evdev node unconditionally. Message-ID: <202106132202.15DM2lBS074790@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=927742783f9e870d0a58196d2b64491e460f9af5 commit 927742783f9e870d0a58196d2b64491e460f9af5 Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2021-05-23 22:41:17 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2021-06-13 21:58:44 +0000 ums(4): Start USB xfers on opening of evdev node unconditionally. This fixes inability to start USB xfers in a case when FIFO has been already open()-ed but no read() or poll() calls has been issued yet. MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D30343 (cherry picked from commit 47791339f0cfe3282a6f64b5607047f7bca968ad) --- sys/dev/usb/input/ums.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c index 6b7c3d526ad0..3d57a6c7be5d 100644 --- a/sys/dev/usb/input/ums.c +++ b/sys/dev/usb/input/ums.c @@ -949,8 +949,8 @@ ums_ev_open(struct evdev_dev *evdev) if (sc->sc_fflags == 0) { ums_reset(sc); - ums_start_rx(sc); } + ums_start_rx(sc); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106132202.15DM2lBS074790>