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: 7229001 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 067A19F30C for ; Mon, 21 Sep 2015 10:16:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33C40207A6 for ; Mon, 21 Sep 2015 10:16:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D9731206B8 for ; Mon, 21 Sep 2015 10:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756582AbbIUKQ1 (ORCPT ); Mon, 21 Sep 2015 06:16:27 -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-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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;