xhci: Put warning message on a single line
authorAlexander Stein <alexander.stein@systec-electronic.com>
Mon, 23 Jan 2017 12:19:57 +0000 (14:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:57:35 +0000 (10:57 +0100)
This allows someone to grep for the complete warning message as in;
xhci-hcd xhci-hcd.0.auto: USB core suspending device not in U0/U1/U2.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c

index 0ef16900efedd7783489ade75594b4d0da798318..2d154e27c1429ef97370164b6cbe05f3dc727cb6 100644 (file)
@@ -990,8 +990,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
                        temp = readl(port_array[wIndex]);
                        if ((temp & PORT_PE) == 0 || (temp & PORT_RESET)
                                || (temp & PORT_PLS_MASK) >= XDEV_U3) {
-                               xhci_warn(xhci, "USB core suspending device "
-                                         "not in U0/U1/U2.\n");
+                               xhci_warn(xhci, "USB core suspending device not in U0/U1/U2.\n");
                                goto error;
                        }