diff options
author | Felipe Balbi <balbi@ti.com> | 2010-09-29 10:55:49 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-18 14:05:54 +0200 |
commit | cccad6d4b103e53fb3d1fc1467f654ecb572d047 (patch) | |
tree | 83403c73c85247aeffa82ceaea6d9a5ec726235d /drivers/usb/otg/nop-usb-xceiv.c | |
parent | 002eda1348788f623dc42231dcda5f591d753124 (diff) | |
download | linux-cccad6d4b103e53fb3d1fc1467f654ecb572d047.tar.gz linux-cccad6d4b103e53fb3d1fc1467f654ecb572d047.tar.bz2 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.c | 2 |
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: |