summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/nop-usb-xceiv.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-09-29 10:55:49 +0300
committerFelipe Balbi <balbi@ti.com>2011-02-18 14:05:54 +0200
commitcccad6d4b103e53fb3d1fc1467f654ecb572d047 (patch)
tree83403c73c85247aeffa82ceaea6d9a5ec726235d /drivers/usb/otg/nop-usb-xceiv.c
parent002eda1348788f623dc42231dcda5f591d753124 (diff)
downloadblackbird-op-linux-cccad6d4b103e53fb3d1fc1467f654ecb572d047.tar.gz
blackbird-op-linux-cccad6d4b103e53fb3d1fc1467f654ecb572d047.zip
usb: otg: notifier: switch to atomic notifier
most of our notifications, will be called from IRQ context, so an atomic notifier suits the job better. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/otg/nop-usb-xceiv.c')
-rw-r--r--drivers/usb/otg/nop-usb-xceiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/nop-usb-xceiv.c b/drivers/usb/otg/nop-usb-xceiv.c
index 8acf165fe13b..c1e360046435 100644
--- a/drivers/usb/otg/nop-usb-xceiv.c
+++ b/drivers/usb/otg/nop-usb-xceiv.c
@@ -132,7 +132,7 @@ static int __devinit nop_usb_xceiv_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, nop);
- BLOCKING_INIT_NOTIFIER_HEAD(&nop->otg.notifier);
+ ATOMIC_INIT_NOTIFIER_HEAD(&nop->otg.notifier);
return 0;
exit:
OpenPOWER on IntegriCloud