From patchwork Mon Sep 21 10:16:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 53959 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 4637B22B1E for ; Mon, 21 Sep 2015 10:16:40 +0000 (UTC) Received: by lbbti1 with SMTP id ti1sf36691326lbb.3 for ; Mon, 21 Sep 2015 03:16:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=UnDU/KM+66YE+ILvyKuxZz8UKHknYSFsAhK5a9xwqjc=; b=BY8kag5FKUdCDJFvDZyIPVFbw8mgCOOy9eFP43v6CyWogM2H4fhXYbZZb6J54k17iH PDO1h949+MPN0Oli4x3ymUorqsQjRu98S6suMI3ATjJCMJgQZIjyEY8z0LRntJPN4AG9 qYtGAglMiFEpAjL9xk153Q3O8p0Y0EQcw4fk52bs4EpO9Yf7wcv5OdIF1wyssdE4R1u1 yuVxbxcerXE2FHW4L1reVYSjQeHsUxE4ILSR6SoljdVmH9WkjCzPZ48ITvlzvSJMHpvc k1FObPuHy0Jo1LBJXZ1sbmT/hZTMsmUhp+vIUQMrtcZHlW/hIMdGZWH0j6vWJgT2tKpC ejMw== X-Gm-Message-State: ALoCoQmAliQjX7Z2JcIqPKV+mFI+Z55JTaxHYgeIwVOQVUEsp9LaFesrXQXsotO7NZbrDt/YDkPX X-Received: by 10.112.40.17 with SMTP id t17mr264706lbk.10.1442830599182; Mon, 21 Sep 2015 03:16:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.232 with SMTP id v8ls243055lav.22.gmail; Mon, 21 Sep 2015 03:16:39 -0700 (PDT) X-Received: by 10.112.234.199 with SMTP id ug7mr7275877lbc.116.1442830599015; Mon, 21 Sep 2015 03:16:39 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id b7si15595353laa.119.2015.09.21.03.16.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 03:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lamp12 with SMTP id p12so63728002lam.0 for ; Mon, 21 Sep 2015 03:16:38 -0700 (PDT) X-Received: by 10.112.135.9 with SMTP id po9mr7410775lbb.56.1442830598773; Mon, 21 Sep 2015 03:16:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1633136lbq; Mon, 21 Sep 2015 03:16:37 -0700 (PDT) X-Received: by 10.66.160.34 with SMTP id xh2mr24614480pab.67.1442830597668; Mon, 21 Sep 2015 03:16:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fn6si29624183pab.148.2015.09.21.03.16.37; Mon, 21 Sep 2015 03:16:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756614AbbIUKQ2 (ORCPT + 30 others); Mon, 21 Sep 2015 06:16:28 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:27189 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756483AbbIUKQZ (ORCPT ); Mon, 21 Sep 2015 06:16:25 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NV000H0KV7AK7A0@mailout4.w1.samsung.com>; Mon, 21 Sep 2015 11:16:22 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-1e-55ffd8f6580c Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id B8.C1.05269.6F8DFF55; Mon, 21 Sep 2015 11:16:22 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NV0008PPV71MDA0@eusync3.samsung.com>; Mon, 21 Sep 2015 11:16:22 +0100 (BST) From: Marek Szyprowski To: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Robert Baldyga , John Youn , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v3 1/4] usb: dwc2: remove double call to dwc2_hsotg_of_probe Date: Mon, 21 Sep 2015 12:16:09 +0200 Message-id: <1442830572-6765-2-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1442830572-6765-1-git-send-email-m.szyprowski@samsung.com> References: <1442830572-6765-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Vd1vN/6HGrxeymWxccZ6Vovdpy8x Wrx+YWhxedccNosZ5/cxWSxa1spssfbIXXaLB4d3sjtwePRtWcXosWX/Z0aPz5vkApijuGxS UnMyy1KL9O0SuDLePbvCUrCJteLi08fMDYyHWLoYOTkkBEwkGm9OZYWwxSQu3FvP1sXIxSEk sJRR4s63m6wQThOTxJrV79hAqtgEDCW63naB2SICCRJ9y/vBOpgFnjJKTHxxHmgsB4ewgI9E 6+pwkBoWAVWJqaufMILYvALuEhduT4LaLCfx/+UKJhCbU8BD4vfvG2AzhYBq2vs2s05g5F3A yLCKUTS1NLmgOCk910ivODG3uDQvXS85P3cTIySUvu5gXHrM6hCjAAejEg+vo8D/UCHWxLLi ytxDjBIczEoivDqzgEK8KYmVValF+fFFpTmpxYcYpTlYlMR5Z+56HyIkkJ5YkpqdmlqQWgST ZeLglGpg5OmKCW/gfcijkZgf2H6rv0Y02FC9cZZbzP6ggtTAd1/KFEoEVRfYv3e+tPtxkecj NfMfvSuaueRFKsIWdRgX/31wefYBa+Fvfsv/bHq8+4eiUmjwH+5fk0XThf1kue7luLXoKZdY PXuc/dJ27R5FN19TN90mjXP54jv3R70u66xc+q9dskKJpTgj0VCLuag4EQA7WsB5IQIAAA== Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch removes doubled call to dwc2_hsotg_of_probe() function. Signed-off-by: Marek Szyprowski --- drivers/usb/dwc2/gadget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index ddd14a7..410ea6e 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -3488,8 +3488,6 @@ int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq) /* Set default UTMI width */ hsotg->phyif = GUSBCFG_PHYIF16; - dwc2_hsotg_of_probe(hsotg); - /* Initialize to legacy fifo configuration values */ hsotg->g_rx_fifo_sz = 2048; hsotg->g_np_g_tx_fifo_sz = 1024;