From patchwork Wed Sep 18 17:03:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 2908041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6C4D99F23C for ; Wed, 18 Sep 2013 17:04:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D6F2203AC for ; Wed, 18 Sep 2013 17:04:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 28D8F2029B for ; Wed, 18 Sep 2013 17:04:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMLAu-0003Nn-GE; Wed, 18 Sep 2013 17:04:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMLAl-0001Ik-R9; Wed, 18 Sep 2013 17:04:15 +0000 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMLAW-0001F5-51 for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2013 17:04:00 +0000 Received: by mail-ee0-f50.google.com with SMTP id d51so3608533eek.37 for ; Wed, 18 Sep 2013 10:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=2S4lofo2/E95kCuuz0Sdbo92vaKsvaQTNWZHiuvqQXA=; b=vChon/PNxPISCdRkrxwchvtJqFN1TcX4sj+3gEU7qw38dcCw2DWDCJR6Xb5G+ucbJi L5TKh5efwE408Kg7c248WnDxBgNpiEEQwkQDWPIkohjggCKDNctvzv63gPfcfVRPcsTU tFfX+4ulB/sjb/EZFwQ9ZIt8wT2I18Rbc1NDhKRNktDwgL+fwRKsP+Dr0OR25T+YTHWY fHDDdZkquEASm0M1KCvpFGo43R0EbZRAZQktjCkqTIb/2SuoiHj7ZlfpqeqhI4vkvXOf 4f9pBAn6WqPKkEiir32D95iznYDs6S2uAdplXzfPm+t5Uf7S4iQK5qk3T58WVJ4DP1I1 mNlQ== X-Received: by 10.14.220.195 with SMTP id o43mr4692800eep.57.1379523815886; Wed, 18 Sep 2013 10:03:35 -0700 (PDT) Received: from pali-elitebook.localnet ([2001:718:1e03:a01::1ca]) by mx.google.com with ESMTPSA id y47sm4300846eew.12.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 10:03:35 -0700 (PDT) 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; ; ) 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 Message-Id: <201309181903.33243@pali> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130918_130400_311133_8C274954 X-CRM114-Status: GOOD ( 11.14 ) X-Spam-Score: 1.6 (+) Cc: Javier Martinez Canillas , linux-usb@vger.kernel.org, Russell King , Aaro Koskinen , Tony Lindgren , Greg Kroah-Hartman , Anton Vorontsov , Linux Kernel , freemangordon@abv.bg, Pavel Machek , "linux-omap@vger.kernel.org" , David Woodhouse , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP &twl->phy.notifier is not initalized Signed-off-by: Pali Rohár diff --git a/drivers/usb/phy/phy-twl4030-usb.c b/drivers/usb/phy/phy-twl4030-usb.c index 8f78d2d..efe6155 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. *