diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2019-04-03 07:47:21 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2019-04-03 07:47:21 +0000 |
commit | dd029fef9a0c2b930b4efe10776566ad26b0de57 (patch) | |
tree | 224874c1183bbbd0edf1b878c39c63cfdceac477 | |
parent | aa13007e985469bc95b740af7467c956c1cac361 (diff) |
Always copy data (if any) whenever a new bounce buffer is available.
-rw-r--r-- | sys/dev/usb/uaudio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c index f8284c0aa54..cf0597c348e 100644 --- a/sys/dev/usb/uaudio.c +++ b/sys/dev/usb/uaudio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uaudio.c,v 1.137 2019/04/03 07:44:52 ratchov Exp $ */ +/* $OpenBSD: uaudio.c,v 1.138 2019/04/03 07:47:20 ratchov Exp $ */ /* * Copyright (c) 2018 Alexandre Ratchov <alex@caoua.org> * @@ -3255,6 +3255,7 @@ uaudio_pdata_intr(struct usbd_xfer *usb_xfer, void *arg, usbd_status status) } #endif s->ubuf_xfer--; + uaudio_pdata_copy(sc); } /* |