From patchwork Fri Oct 17 17:16:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38954 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 ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 65342202DB for ; Fri, 17 Oct 2014 17:19:08 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id p9sf717576lbv.8 for ; Fri, 17 Oct 2014 10:19:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=ai4R7tSuh8wZbAWqHdhUaIthZbbvJW3jPPr9V8x9MNg=; b=G8yqZ4TkRgFsxzXObzNjR7TW9/LyO1UMNqoFRPTMzFW4WcA755JznjUlIQZKq8K6Dk rwI9te1fqX9wn4wR2WAPsk7EulG9yO5R8qFIBhxnoVJi5PbDRC2d8+QHj/qSSese27Qs XPDooYTvSKxmLABy6DS/TRltChFThGoV6qFxjSFey/LpzbOWjRjBlogZXSZMni3sZ4GZ OBYlqF/T3WxvnKG3t3j2LgyTt1/M1ZkZasFxbAOlJJ27hxViwcjLMB94A3awqXv7e+pw xZcHHetbpBCQEp/DXnyR9k94s5FVhGL0YYfeNJrszBqx1H1uIR27BxXkQa6bdg3eFQ8U NntA== X-Gm-Message-State: ALoCoQkfB2zS5PmqaY/BTwtu4ws71gJ8H8gt7yD0wvvTwA4W+MRJQH3wfnPaboVcCl3R1X3LAMOq X-Received: by 10.112.137.202 with SMTP id qk10mr649974lbb.11.1413566347296; Fri, 17 Oct 2014 10:19:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.202 with SMTP id y10ls288932lad.51.gmail; Fri, 17 Oct 2014 10:19:07 -0700 (PDT) X-Received: by 10.152.7.233 with SMTP id m9mr10412148laa.32.1413566347193; Fri, 17 Oct 2014 10:19:07 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id h3si2979563lbc.88.2014.10.17.10.19.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by mail-lb0-f170.google.com with SMTP id u10so1047735lbd.29 for ; Fri, 17 Oct 2014 10:19:07 -0700 (PDT) X-Received: by 10.112.97.135 with SMTP id ea7mr10374663lbb.46.1413566347113; Fri, 17 Oct 2014 10:19:07 -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.84.229 with SMTP id c5csp268227lbz; Fri, 17 Oct 2014 10:19:06 -0700 (PDT) X-Received: by 10.66.252.8 with SMTP id zo8mr9909810pac.12.1413566334100; Fri, 17 Oct 2014 10:18:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gd2si1590896pbb.180.2014.10.17.10.18.53 for ; Fri, 17 Oct 2014 10:18:54 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbaJQRSd (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:33 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:55862 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722AbaJQRSb (ORCPT ); Fri, 17 Oct 2014 13:18:31 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIJ8g011781; Fri, 17 Oct 2014 12:18:19 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIJEP029844; Fri, 17 Oct 2014 12:18:19 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:19 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIIKe030485; Fri, 17 Oct 2014 12:18:19 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Felipe Balbi Subject: [PATCH 52/67] usb: gadget: udc: pxa25x: do not rely on 'driver' argument Date: Fri, 17 Oct 2014 12:16:59 -0500 Message-ID: <1413566234-13537-53-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1413566234-13537-1-git-send-email-balbi@ti.com> References: <1413566234-13537-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.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.217.170 as permitted sender) smtp.mail=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: , future patches will remove the extra 'driver' argument to ->udc_stop(), in order to do that, we must make sure that our UDC does not rely on it first. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc/pxa25x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index 42f7eeb..098fa57 100644 --- a/drivers/usb/gadget/udc/pxa25x_udc.c +++ b/drivers/usb/gadget/udc/pxa25x_udc.c @@ -1319,7 +1319,7 @@ static int pxa25x_udc_stop(struct usb_gadget*g, local_irq_disable(); dev->pullup = 0; pullup(dev); - stop_activity(dev, driver); + stop_activity(dev, NULL); local_irq_enable(); if (!IS_ERR_OR_NULL(dev->transceiver))