ARM: tegra: stingray: usbnet: Make work be queued on non-reentrant queue
authorAndrei Warkentin <andreiw@motorola.com>
Sat, 4 Dec 2010 03:20:24 +0000 (21:20 -0600)
committerBenoit Goby <benoit@android.com>
Wed, 22 Dec 2010 03:29:53 +0000 (19:29 -0800)
Didn't see any synchro in worker.

Change-Id: I047bea31653a2856859ab1e5f28d7b01191f0b2b
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
arch/arm/mach-tegra/board-stingray-usbnet.c

index d903339f09bfe437d4998bcfa94ecb5567e82c3c..b2c2199a39149fa5ba2b92ebb1537db93edcc48d 100644 (file)
@@ -714,7 +714,7 @@ static int usbnet_setup(struct usb_function *f,
                        context->iff_flag = IFF_UP;
                        /* schedule a work queue to do this because we
                                 need to be able to sleep */
-                       schedule_work(&context->usbnet_config_wq);
+                       queue_work(system_nrt_wq, &context->usbnet_config_wq);
                }
        }