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

Commit 835a38f5 authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Gerrit - the friendly Code Review server
Browse files

diag: Change usb notify prints to ipc log



Change usb connect/disconnect notification prints
from pr_info to ipc logging.

Change-Id: I04e7e3a268ee6acb2d39d853e7c25b4da43ac42e
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent 20f42600
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -395,14 +395,16 @@ static void diag_usb_notifier(void *priv, unsigned int event,

	switch (event) {
	case USB_DIAG_CONNECT:
		pr_info("diag: USB channel %s: Received Connect event\n",
		DIAG_LOG(DIAG_DEBUG_PERIPHERALS,
			"diag: USB channel %s: Received Connect event\n",
			usb_info->name);
		diag_usb_event_add(usb_info, USB_DIAG_CONNECT);
		queue_work(usb_info->usb_wq,
			   &usb_info->event_work);
		break;
	case USB_DIAG_DISCONNECT:
		pr_info("diag: USB channel %s: Received Disconnect event\n",
		DIAG_LOG(DIAG_DEBUG_PERIPHERALS,
			"diag: USB channel %s: Received Disconnect event\n",
			usb_info->name);
		diag_usb_event_add(usb_info, USB_DIAG_DISCONNECT);
		queue_work(usb_info->usb_wq,