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

Commit de9169a1 authored by Paul Zimmerman's avatar Paul Zimmerman Committed by Greg Kroah-Hartman
Browse files

staging: dwc2: add missing newlines to debug messages



A few debug messages were missing newlines, add them

Signed-off-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ddf58468
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -453,7 +453,7 @@ irqreturn_t dwc2_handle_common_intr(int irq, void *dev)
	int retval = 0;
	int retval = 0;


	if (dwc2_check_core_status(hsotg) < 0) {
	if (dwc2_check_core_status(hsotg) < 0) {
		dev_warn(hsotg->dev, "Controller is disconnected");
		dev_warn(hsotg->dev, "Controller is disconnected\n");
		goto out;
		goto out;
	}
	}


+2 −2
Original line number Original line Diff line number Diff line
@@ -1311,7 +1311,7 @@ static void dwc2_conn_id_status_change(struct work_struct *work)
		}
		}
		if (count > 250)
		if (count > 250)
			dev_err(hsotg->dev,
			dev_err(hsotg->dev,
				"Connection id status change timed out");
				"Connection id status change timed out\n");
		hsotg->op_state = OTG_STATE_B_PERIPHERAL;
		hsotg->op_state = OTG_STATE_B_PERIPHERAL;
		dwc2_core_init(hsotg, false, -1);
		dwc2_core_init(hsotg, false, -1);
		dwc2_enable_global_interrupts(hsotg);
		dwc2_enable_global_interrupts(hsotg);
@@ -1328,7 +1328,7 @@ static void dwc2_conn_id_status_change(struct work_struct *work)
		}
		}
		if (count > 250)
		if (count > 250)
			dev_err(hsotg->dev,
			dev_err(hsotg->dev,
				"Connection id status change timed out");
				"Connection id status change timed out\n");
		hsotg->op_state = OTG_STATE_A_HOST;
		hsotg->op_state = OTG_STATE_A_HOST;


		/* Initialize the Core for Host mode */
		/* Initialize the Core for Host mode */
+3 −3
Original line number Original line Diff line number Diff line
@@ -218,17 +218,17 @@ static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
	u16 i, j, inc;
	u16 i, j, inc;


	if (!hsotg) {
	if (!hsotg) {
		pr_err("hsotg = %p", hsotg);
		pr_err("hsotg = %p\n", hsotg);
		return;
		return;
	}
	}


	if (!qh->channel) {
	if (!qh->channel) {
		dev_err(hsotg->dev, "qh->channel = %p", qh->channel);
		dev_err(hsotg->dev, "qh->channel = %p\n", qh->channel);
		return;
		return;
	}
	}


	if (!hsotg->frame_list) {
	if (!hsotg->frame_list) {
		dev_err(hsotg->dev, "hsotg->frame_list = %p",
		dev_err(hsotg->dev, "hsotg->frame_list = %p\n",
			hsotg->frame_list);
			hsotg->frame_list);
		return;
		return;
	}
	}
+1 −1
Original line number Original line Diff line number Diff line
@@ -2069,7 +2069,7 @@ int dwc2_hcd_intr(struct dwc2_hsotg *hsotg)
	int retval = 0;
	int retval = 0;


	if (dwc2_check_core_status(hsotg) < 0) {
	if (dwc2_check_core_status(hsotg) < 0) {
		dev_warn(hsotg->dev, "Controller is disconnected");
		dev_warn(hsotg->dev, "Controller is disconnected\n");
		return 0;
		return 0;
	}
	}