Commit 5381e0b7 authored by Mark Watson's avatar Mark Watson Committed by Carles Cufi
Browse files

drivers: usb: usb_dc_nrfx: add usbd worker thread name.

I added a thread name to the usbd worker thread.

Signed-off-by: default avatarMark Watson <mwatson@prosaris.ca>

Fixes: #43330
parent 5f4664da
Loading
Loading
Loading
Loading
+1 −0
Changes for drivers/usb/device/usb_dc_nrfx.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -1914,6 +1914,7 @@ static int usb_init(const struct device *arg)
			   K_KERNEL_STACK_SIZEOF(usbd_work_queue_stack),
			   CONFIG_SYSTEM_WORKQUEUE_PRIORITY, NULL);

	k_thread_name_set(&usbd_work_queue.thread, "usbd_workq");
	k_work_init(&ctx->usb_work, usbd_work_handler);

	return 0;