Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb Whitespace.



details:   https://anonhg.NetBSD.org/src/rev/022bb2f622e9
branches:  nick-nhusb
changeset: 804421:022bb2f622e9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Oct 21 21:34:11 2015 +0000

description:
Whitespace.

diffstat:

 sys/dev/usb/xhci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 71a9771751be -r 022bb2f622e9 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Wed Oct 21 07:36:31 2015 +0000
+++ b/sys/dev/usb/xhci.c        Wed Oct 21 21:34:11 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.28.2.42 2015/10/20 15:31:21 skrll Exp $     */
+/*     $NetBSD: xhci.c,v 1.28.2.43 2015/10/21 21:34:11 skrll Exp $     */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.42 2015/10/20 15:31:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.43 2015/10/21 21:34:11 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -2872,7 +2872,7 @@
                v &= ~XHCI_PS_CLEAR;
                switch (value) {
                case UHF_PORT_ENABLE:
-                       xhci_op_write_4(sc, port, v &~ XHCI_PS_PED);
+                       xhci_op_write_4(sc, port, v & ~XHCI_PS_PED);
                        break;
                case UHF_PORT_SUSPEND:
                        return -1;
@@ -2993,7 +2993,7 @@
                        /* XXX suspend */
                        break;
                case UHF_PORT_RESET:
-                       v &= ~ (XHCI_PS_PED | XHCI_PS_PR);
+                       v &= ~(XHCI_PS_PED | XHCI_PS_PR);
                        xhci_op_write_4(sc, port, v | XHCI_PS_PR);
                        /* Wait for reset to complete. */
                        usb_delay_ms(&sc->sc_bus, USB_PORT_ROOT_RESET_DELAY);



Home | Main Index | Thread Index | Old Index