From: Pali Rohár Date: Wed, 18 Sep 2013 17:03:33 +0000 (+0200) Subject: usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80d2e76c2e162264dff1c5107a31b8d99e816cd4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD &twl->phy.notifier is not initalized Signed-off-by: Pali Rohár Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-twl4030-usb.c b/drivers/usb/phy/phy-twl4030-usb.c index 90730c8762b8..5baa9c7267f4 100644 --- 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. *