diff options
Diffstat (limited to 'drivers/usb/otg/ab8500-usb.c')
-rw-r--r-- | drivers/usb/otg/ab8500-usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/otg/ab8500-usb.c index d14736b3107b..07ccea9ada40 100644 --- a/drivers/usb/otg/ab8500-usb.c +++ b/drivers/usb/otg/ab8500-usb.c | |||
@@ -212,7 +212,7 @@ static int ab8500_usb_link_status_update(struct ab8500_usb *ab) | |||
212 | break; | 212 | break; |
213 | } | 213 | } |
214 | 214 | ||
215 | blocking_notifier_call_chain(&ab->otg.notifier, event, v); | 215 | atomic_notifier_call_chain(&ab->otg.notifier, event, v); |
216 | 216 | ||
217 | return 0; | 217 | return 0; |
218 | } | 218 | } |
@@ -281,7 +281,7 @@ static int ab8500_usb_set_power(struct otg_transceiver *otg, unsigned mA) | |||
281 | ab->vbus_draw = mA; | 281 | ab->vbus_draw = mA; |
282 | 282 | ||
283 | if (mA) | 283 | if (mA) |
284 | blocking_notifier_call_chain(&ab->otg.notifier, | 284 | atomic_notifier_call_chain(&ab->otg.notifier, |
285 | USB_EVENT_ENUMERATED, ab->otg.gadget); | 285 | USB_EVENT_ENUMERATED, ab->otg.gadget); |
286 | return 0; | 286 | return 0; |
287 | } | 287 | } |
@@ -500,7 +500,7 @@ static int __devinit ab8500_usb_probe(struct platform_device *pdev) | |||
500 | 500 | ||
501 | platform_set_drvdata(pdev, ab); | 501 | platform_set_drvdata(pdev, ab); |
502 | 502 | ||
503 | BLOCKING_INIT_NOTIFIER_HEAD(&ab->otg.notifier); | 503 | ATOMIC_INIT_NOTIFIER_HEAD(&ab->otg.notifier); |
504 | 504 | ||
505 | /* v1: Wait for link status to become stable. | 505 | /* v1: Wait for link status to become stable. |
506 | * all: Updates form set_host and set_peripheral as they are atomic. | 506 | * all: Updates form set_host and set_peripheral as they are atomic. |