[PATCH 1/2] workqueues should not be freezable
Pontus Fuchs
pontus.fuchs at gmail.com
Fri Jun 7 05:04:57 EDT 2013
Since the wq's are used on suspend / resume they cannot be
freezable.
Signed-off-by: Pontus Fuchs <pontus.fuchs at gmail.com>
---
main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
index 70ad27b..70c7a23 100644
--- a/main.c
+++ b/main.c
@@ -768,14 +768,14 @@ static int __init wcn36xx_init(void)
goto out_err;
}
- wcn->wq = create_freezable_workqueue("wcn36xx_wq");
+ wcn->wq = create_workqueue("wcn36xx_wq");
if (!wcn->wq) {
wcn36xx_error("failed to allocate wq");
ret = -ENOMEM;
goto out_err;
}
- wcn->ctl_wq = create_freezable_workqueue("wcn36xx_ctl_wq");
+ wcn->ctl_wq = create_workqueue("wcn36xx_ctl_wq");
if (!wcn->ctl_wq) {
wcn36xx_error("failed to allocate ctl wq");
ret = -ENOMEM;
--
1.8.1.2
More information about the wcn36xx
mailing list