Browse Source

qcacmn: Use highprio work queue

Use highprio system workqueue instead of normal work queue for
USB io_complete_work.
This is to avoid latency for receive and TX complete processing.

Change-Id: I34859a748b607d633b4905b3f06e3345029d4cba
CRs-Fixed: 2456887
Ajit Pal Singh 6 years ago
parent
commit
cd43faa16b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hif/src/usb/hif_usb_internal.h

+ 2 - 1
hif/src/usb/hif_usb_internal.h

@@ -51,7 +51,8 @@
 
 #define HIF_USB_FLUSH_WORK(pipe) flush_work(&pipe->io_complete_work)
 #else
-#define HIF_USB_SCHEDULE_WORK(pipe) schedule_work(&pipe->io_complete_work)
+#define HIF_USB_SCHEDULE_WORK(pipe) queue_work(system_highpri_wq,\
+		&(pipe)->io_complete_work)
 #define HIF_USB_INIT_WORK(pipe)\
 		INIT_WORK(&pipe->io_complete_work,\
 				usb_hif_io_comp_work)