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

Commit b1248316 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

dwc3-msm: Replace suspend abort warning to dev_dbg



If controller suspend is aborted due to one or more pending
events printing suspend abort warning may result in to watchdog
bark. Hence change warning message to dev_dbg message as this
condition is already logged into debug buffer.

CRs-Fixed: 756640
Change-Id: I4960ae0787a227843683bbe0fd8590b56fe2f0c5
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 7aad09de
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1575,7 +1575,8 @@ static int dwc3_msm_suspend(struct dwc3_msm *mdwc)
		for (i = 0; i < dwc->num_event_buffers; i++) {
			struct dwc3_event_buffer *evt = dwc->ev_buffs[i];
			if ((evt->flags & DWC3_EVENT_PENDING)) {
				dev_warn(mdwc->dev, "%s: %d device events pending, abort suspend\n",
				dev_dbg(mdwc->dev,
				"%s: %d device events pending, abort suspend\n",
				__func__, evt->count / 4);
				dbg_print_reg("PENDING DEVICE EVENT",
						*(u32 *)(evt->buf + evt->lpos));