Message ID | 1413566234-13537-54-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | c3d84dfb7f6027fff4723330620f63c08ab0e253 |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRBGE7QWRAKGQEKUTJ67I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ED7C3202DB for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 17:19:20 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id d17sf803855eek.2 for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 10:19:20 -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=pcEcJYrEZzB1ZboS/Du2KqjfhmhcsDob+xWNWO6Hdgc=; b=NfazZy9dkfkdyQzJbAFPgiQG1pnGBcNnPjqzo+EDjqGoKlI+3NJlDJvlXi2dUzkHI1 DS862jJ5AzQSc5prfr1f5/N12es+8bq41xhMjP2rFIIc1fj5DgDQmtWrR1IBZ6o6+j4S s7Vw+WiyvPk0PgixMVdS8BRA+IJ8EKhK0azN3fcAb1wiZLIHMrHg93sM1w+fdL0dGKN1 HqYOREdGiSPzyRbBMucpwgyktI2DM9ApJ2JCr+bhCvfvBqKZyZBABL66K5rVXR6Pf0gI NIbqAsmJMGv5W8s5KTQsPWpUYk851X1RxEvxkGCPZDaXb8hbRlloZRClg8pOdWG8p2px 3A7Q== X-Gm-Message-State: ALoCoQlQoRO+5ZuCo4OdqGxe6LIcdGtM61dfq9c/oO2zg7Cl2cwsSLfdthZnCXWk+Y3GziJudFay X-Received: by 10.112.137.202 with SMTP id qk10mr650166lbb.11.1413566360084; Fri, 17 Oct 2014 10:19:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.169 with SMTP id ld9ls280192lab.12.gmail; Fri, 17 Oct 2014 10:19:19 -0700 (PDT) X-Received: by 10.152.1.42 with SMTP id 10mr10521603laj.4.1413566359905; Fri, 17 Oct 2014 10:19:19 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id d9si2989363lad.79.2014.10.17.10.19.19 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so1076071lab.27 for <patchwork-forward@linaro.org>; Fri, 17 Oct 2014 10:19:19 -0700 (PDT) X-Received: by 10.112.130.41 with SMTP id ob9mr10082061lbb.74.1413566359789; Fri, 17 Oct 2014 10:19:19 -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 c5csp268270lbz; Fri, 17 Oct 2014 10:19:19 -0700 (PDT) X-Received: by 10.66.141.70 with SMTP id rm6mr10026350pab.38.1413566346194; Fri, 17 Oct 2014 10:19:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tf2si376641pac.129.2014.10.17.10.19.05 for <multiple recipients>; Fri, 17 Oct 2014 10:19:06 -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 S1753807AbaJQRTB (ORCPT <rfc822;amit.pundir@linaro.org> + 3 others); Fri, 17 Oct 2014 13:19:01 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36461 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753702AbaJQRS2 (ORCPT <rfc822; linux-usb@vger.kernel.org>); Fri, 17 Oct 2014 13:18:28 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIKLV029304; Fri, 17 Oct 2014 12:18:20 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIKKF001258; Fri, 17 Oct 2014 12:18:20 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:20 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIJ5B003403; Fri, 17 Oct 2014 12:18:20 -0500 From: Felipe Balbi <balbi@ti.com> To: Linux USB Mailing List <linux-usb@vger.kernel.org> CC: Greg KH <gregkh@linuxfoundation.org>, <m.szyprowski@samsung.com>, Paul Zimmerman <paul.zimmerman@synopsys.com>, <daniel@zonque.org>, <leoli@freescale.com>, <andrzej.p@samsung.com>, <r.baldyga@samsung.com>, <mina86@mina86.com>, <Peter.Chen@freescale.com>, Felipe Balbi <balbi@ti.com> Subject: [PATCH 53/67] usb: gadget: udc: pxa27x: do not rely on 'driver' argument Date: Fri, 17 Oct 2014 12:17:00 -0500 Message-ID: <1413566234-13537-54-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: <patchwork-forward.linaro.org> 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.215.54 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain |
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c index 55598c0..b90b1f3 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.c +++ b/drivers/usb/gadget/udc/pxa27x_udc.c @@ -1862,7 +1862,7 @@ static int pxa27x_udc_stop(struct usb_gadget *g, { struct pxa_udc *udc = to_pxa(g); - stop_activity(udc, driver); + stop_activity(udc, NULL); udc_disable(udc); dplus_pullup(udc, 0);
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 <balbi@ti.com> --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)