summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-06-15 14:15:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-06-15 14:15:13 +0000
commit73db24a12aca4214c1e6993c8b9c6cbd8c39262e (patch)
tree2c3393472b9ddb7a843fa06540c2bea14d3d3565 /sys/dev
parente4dc09a00e30c1c7a3e8d253e023ca513aa25367 (diff)
Fix previous commit and unbreak the tree.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdt/imxuart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdt/imxuart.c b/sys/dev/fdt/imxuart.c
index 6fabfe9c9f4..1418c90af09 100644
--- a/sys/dev/fdt/imxuart.c
+++ b/sys/dev/fdt/imxuart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxuart.c,v 1.6 2019/06/14 18:12:55 cheloha Exp $ */
+/* $OpenBSD: imxuart.c,v 1.7 2019/06/15 14:15:12 kettenis Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
@@ -301,7 +301,7 @@ imxuart_param(struct tty *tp, struct termios *t)
while (ISSET(tp->t_state, TS_BUSY)) {
++sc->sc_halt;
error = ttysleep(tp, &tp->t_outq,
- TTOPRI | PCATCH, "imxuartprm");
+ TTOPRI | PCATCH, "imxuartprm", 0);
--sc->sc_halt;
if (error) {
imxuart_start(tp);
@@ -598,7 +598,7 @@ imxuartopen(dev_t dev, int flag, int mode, struct proc *p)
!ISSET(tp->t_state, TS_CARR_ON))) {
SET(tp->t_state, TS_WOPEN);
error = ttysleep(tp, &tp->t_rawq,
- TTIPRI | PCATCH, ttopen);
+ TTIPRI | PCATCH, ttopen, 0);
/*
* If TS_WOPEN has been reset, that means the
* cua device has been closed. We don't want