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

Commit fffe9ab6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Change usb notify prints to ipc log"

parents 86ccf218 835a38f5
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,