Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80d2e76c authored by Pali Rohár's avatar Pali Rohár Committed by Felipe Balbi
Browse files

usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD



&twl->phy.notifier is not initalized

Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1860c925
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
	 *