Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/usb Pull up the following revisions(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/4a5e9b426359
branches: netbsd-6
changeset: 773778:4a5e9b426359
user: sborrill <sborrill%NetBSD.org@localhost>
date: Mon Feb 20 21:16:59 2012 +0000
description:
Pull up the following revisions(s) (requested by mrg in ticket #12):
sys/dev/usb/umidi.c: revision 1.60
Fix the reversed logic in several uses of the new 'closing' member
introduced in the previous change. From PR 45909.
diffstat:
sys/dev/usb/umidi.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 22555011ede5 -r 4a5e9b426359 sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c Sun Feb 19 18:45:57 2012 +0000
+++ b/sys/dev/usb/umidi.c Mon Feb 20 21:16:59 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umidi.c,v 1.59 2012/02/14 19:28:22 mrg Exp $ */
+/* $NetBSD: umidi.c,v 1.59.2.1 2012/02/20 21:16:59 sborrill Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.59 2012/02/14 19:28:22 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.59.2.1 2012/02/20 21:16:59 sborrill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -391,7 +391,7 @@
{
struct umidi_mididev *mididev = addr;
- if (!mididev->out_jack || !mididev->opened || !mididev->closing)
+ if (!mididev->out_jack || !mididev->opened || mididev->closing)
return EIO;
return out_jack_output(mididev->out_jack, msg, len, (status>>4)&0xf);
@@ -403,7 +403,7 @@
struct umidi_mididev *mididev = addr;
int cin;
- if (!mididev->out_jack || !mididev->opened || !mididev->closing)
+ if (!mididev->out_jack || !mididev->opened || mididev->closing)
return EIO;
switch ( len ) {
@@ -422,7 +422,7 @@
struct umidi_mididev *mididev = addr;
int cin;
- if (!mididev->out_jack || !mididev->opened || !mididev->closing)
+ if (!mididev->out_jack || !mididev->opened || mididev->closing)
return EIO;
switch ( len ) {
@@ -441,7 +441,7 @@
struct umidi_mididev *mididev = addr;
u_char msg = d;
- if (!mididev->out_jack || !mididev->opened || !mididev->closing)
+ if (!mididev->out_jack || !mididev->opened || mididev->closing)
return EIO;
return out_jack_output(mididev->out_jack, &msg, 1, 0xf);
Home |
Main Index |
Thread Index |
Old Index