Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03e64e96 authored by Joe Perches's avatar Joe Perches Committed by Sarah Sharp
Browse files

xhci: Correct misplaced newlines



Logging messages end in newlines, not have
them put in the middle of messages.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
parent 26b76798
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -3075,8 +3075,8 @@ static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci,
		/* Are streams already being freed for the endpoint? */
		/* Are streams already being freed for the endpoint? */
		if (ep_state & EP_GETTING_NO_STREAMS) {
		if (ep_state & EP_GETTING_NO_STREAMS) {
			xhci_warn(xhci, "WARN Can't disable streams for "
			xhci_warn(xhci, "WARN Can't disable streams for "
					"endpoint 0x%x\n, "
					"endpoint 0x%x, "
					"streams are being disabled already.",
					"streams are being disabled already\n",
					eps[i]->desc.bEndpointAddress);
					eps[i]->desc.bEndpointAddress);
			return 0;
			return 0;
		}
		}
@@ -3084,8 +3084,8 @@ static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci,
		if (!(ep_state & EP_HAS_STREAMS) &&
		if (!(ep_state & EP_HAS_STREAMS) &&
				!(ep_state & EP_GETTING_STREAMS)) {
				!(ep_state & EP_GETTING_STREAMS)) {
			xhci_warn(xhci, "WARN Can't disable streams for "
			xhci_warn(xhci, "WARN Can't disable streams for "
					"endpoint 0x%x\n, "
					"endpoint 0x%x, "
					"streams are already disabled!",
					"streams are already disabled!\n",
					eps[i]->desc.bEndpointAddress);
					eps[i]->desc.bEndpointAddress);
			xhci_warn(xhci, "WARN xhci_free_streams() called "
			xhci_warn(xhci, "WARN xhci_free_streams() called "
					"with non-streams endpoint\n");
					"with non-streams endpoint\n");
@@ -4353,7 +4353,7 @@ static u16 xhci_get_timeout_no_hub_lpm(struct usb_device *udev,
				state_name, sel);
				state_name, sel);
	else
	else
		dev_dbg(&udev->dev, "Device-initiated %s disabled "
		dev_dbg(&udev->dev, "Device-initiated %s disabled "
				"due to long PEL %llu\n ms",
				"due to long PEL %llu ms\n",
				state_name, pel);
				state_name, pel);
	return USB3_LPM_DISABLED;
	return USB3_LPM_DISABLED;
}
}