Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753131Ab3IRRDm (ORCPT ); Wed, 18 Sep 2013 13:03:42 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:44803 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752552Ab3IRRDh (ORCPT ); Wed, 18 Sep 2013 13:03:37 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: balbi@ti.com Subject: [PATCH usb 1/2] usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD Date: Wed, 18 Sep 2013 19:03:33 +0200 User-Agent: KMail/1.13.7 (Linux/3.11.0-1+synaptics-generic; KDE/4.11.1; x86_64; ; ) Cc: Javier Martinez Canillas , Pavel Machek , Tony Lindgren , Anton Vorontsov , Russell King , David Woodhouse , "Greg Kroah-Hartman" , freemangordon@abv.bg, Aaro Koskinen , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel , linux-usb@vger.kernel.org References: <1378630239-10006-1-git-send-email-pali.rohar@gmail.com> <201309181843.49850@pali> <20130918164816.GN21559@radagast> In-Reply-To: <20130918164816.GN21559@radagast> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4760060.bcDtOaWoxX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201309181903.33243@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 43 --nextPart4760060.bcDtOaWoxX Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable &twl->phy.notifier is not initalized Signed-off-by: Pali Roh=C3=A1r diff --git a/drivers/usb/phy/phy-twl4030-usb.c b/drivers/usb/phy/phy-twl403= 0-usb.c index 8f78d2d..efe6155 100644 =2D-- 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 *pd= ev) if (device_create_file(&pdev->dev, &dev_attr_vbus)) dev_warn(&pdev->dev, "could not create sysfs file\n"); =20 + 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. * --nextPart4760060.bcDtOaWoxX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlI53OUACgkQi/DJPQPkQ1KFmQCgi/3vMmkDbDiB9qqmHP2+QuCe xNYAoIPUJF9y0IMoObc0rvYuOqYLfOeD =4r1s -----END PGP SIGNATURE----- --nextPart4760060.bcDtOaWoxX-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/