projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1860c92
)
usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD
author
Pali Rohár
<pali.rohar@gmail.com>
Wed, 18 Sep 2013 17:03:33 +0000
(19:03 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 1 Oct 2013 14:31:13 +0000
(09:31 -0500)
&twl->phy.notifier is not initalized
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-twl4030-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-twl4030-usb.c
b/drivers/usb/phy/phy-twl4030-usb.c
index 90730c8762b8f8ee850a8a153ad757a4b5b3337e..5baa9c7267f4bf500e774542d23656674dfffc40 100644
(file)
--- a/
drivers/usb/phy/phy-twl4030-usb.c
+++ b/
drivers/usb/phy/phy-twl4030-usb.c
@@
-705,6
+705,8
@@
static int twl4030_usb_probe(struct platform_device *pdev)
if (device_create_file(&pdev->dev, &dev_attr_vbus))
dev_warn(&pdev->dev, "could not create sysfs file\n");
+ ATOMIC_INIT_NOTIFIER_HEAD(&twl->phy.notifier);
+
/* Our job is to use irqs and status from the power module
* to keep the transceiver disabled when nothing's connected.
*