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: 2908011 Return-Path: X-Original-To: patchwork-linux-omap@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 E49439F23C for ; Wed, 18 Sep 2013 17:04:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 149752029B for ; Wed, 18 Sep 2013 17:04:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C81EA203AE for ; Wed, 18 Sep 2013 17:04:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752979Ab3IRRDl (ORCPT ); Wed, 18 Sep 2013 13:03:41 -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 Received: by mail-ee0-f46.google.com with SMTP id c13so3609054eek.33 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; ; ) 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 Message-Id: <201309181903.33243@pali> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=ham 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. *