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

Commit 2d0fe1bb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: ehci-sched.c: remove dbg() usage



dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.

CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 82491c2a
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -2356,7 +2356,8 @@ scan_periodic (struct ehci_hcd *ehci)
				 * in the previous frame for completions.
				 * in the previous frame for completions.
				 */
				 */
				if (q.fstn->hw_prev != EHCI_LIST_END(ehci)) {
				if (q.fstn->hw_prev != EHCI_LIST_END(ehci)) {
					dbg ("ignoring completions from FSTNs");
					ehci_dbg(ehci,
						"ignoring completions from FSTNs\n");
				}
				}
				type = Q_NEXT_TYPE(ehci, q.fstn->hw_next);
				type = Q_NEXT_TYPE(ehci, q.fstn->hw_next);
				q = q.fstn->fstn_next;
				q = q.fstn->fstn_next;
@@ -2439,7 +2440,7 @@ scan_periodic (struct ehci_hcd *ehci)
				q = *q_p;
				q = *q_p;
				break;
				break;
			default:
			default:
				dbg ("corrupt type %d frame %d shadow %p",
				ehci_dbg(ehci, "corrupt type %d frame %d shadow %p\n",
					type, frame, q.ptr);
					type, frame, q.ptr);
				// BUG ();
				// BUG ();
				q.ptr = NULL;
				q.ptr = NULL;