|
@@ -65,7 +65,7 @@ int whc_init(struct whc *whc)
|
|
init_waitqueue_head(&whc->cmd_wq);
|
|
init_waitqueue_head(&whc->cmd_wq);
|
|
init_waitqueue_head(&whc->async_list_wq);
|
|
init_waitqueue_head(&whc->async_list_wq);
|
|
init_waitqueue_head(&whc->periodic_list_wq);
|
|
init_waitqueue_head(&whc->periodic_list_wq);
|
|
- whc->workqueue = create_singlethread_workqueue(dev_name(&whc->umc->dev));
|
|
|
|
|
|
+ whc->workqueue = alloc_ordered_workqueue(dev_name(&whc->umc->dev), 0);
|
|
if (whc->workqueue == NULL) {
|
|
if (whc->workqueue == NULL) {
|
|
ret = -ENOMEM;
|
|
ret = -ENOMEM;
|
|
goto error;
|
|
goto error;
|