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

Commit 1510a1a2 authored by Sarah Sharp's avatar Sarah Sharp
Browse files

usb: trival: Fix debugging units mistake.



SEL and PEL are in microseconds, not milliseconds.  Also, fix a split
string that will trigger checkpatch warnings.

Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
parent 65a95b75
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3241,8 +3241,7 @@ static int usb_req_set_sel(struct usb_device *udev, enum usb3_link_state state)
			(state == USB3_LPM_U2 &&
			 (u2_sel > USB3_LPM_MAX_U2_SEL_PEL ||
			  u2_pel > USB3_LPM_MAX_U2_SEL_PEL))) {
		dev_dbg(&udev->dev, "Device-initiated %s disabled due "
				"to long SEL %llu ms or PEL %llu ms\n",
		dev_dbg(&udev->dev, "Device-initiated %s disabled due to long SEL %llu us or PEL %llu us\n",
				usb3_lpm_names[state], u1_sel, u1_pel);
		return -EINVAL;
	}