Message ID | 1413566234-13537-45-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | af9501f656d2250dbf04e48f77025b3783cc0505 |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRBJE7QWRAKGQE5Y4WFPQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F8F5202DB for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 17:19:33 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf800868wib.1 for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 10:19:32 -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=mIcJaDJGhz1PfACOtOR+eriyTzdVsBtkNx4isAelHEc=; b=MBQKULyc1Q5Mvc1MmvLwV8C0pPTIpkBIZ2PVMbHQUO3R/r1K64sHiucWsh/s+ZXSpW A0wKTcs8s3gQtEetiXYZXKa3/7vgR252FO2HrBfK5GjTflRom6btnzevH4yJR+vHiZHb J0836hfjLt3ZDaizavXG0NergPoZhyJoGDnZAlc/Q018qlUNXqWNgutq7Mj+FnkFhFLo lCndl8TWrtzHoKWBN3bTHzSkxsPBhMefuvQYt4ulssi2hqGOQmHnKKiO2NaEIRor7PMK hxNfGfISDmK6c+fPa3wtSmnlHkICX+r0vZDPFHJM2JjfbCZ94+FTvcRkjXf9/ObtVU/N XcQQ== X-Gm-Message-State: ALoCoQnGG+BG228o0h7QtCFzar5TQMIsBW7Wxwrqyd14lZWfJhI6X1l8zL4ZOrVVUdtwsS9ACLsC X-Received: by 10.112.138.202 with SMTP id qs10mr1577940lbb.5.1413566372323; Fri, 17 Oct 2014 10:19:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.68 with SMTP id is4ls279890lac.6.gmail; Fri, 17 Oct 2014 10:19:32 -0700 (PDT) X-Received: by 10.112.169.66 with SMTP id ac2mr10238821lbc.73.1413566372231; Fri, 17 Oct 2014 10:19:32 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id xu5si3003399lab.64.2014.10.17.10.19.32 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id p9so1036552lbv.5 for <patchwork-forward@linaro.org>; Fri, 17 Oct 2014 10:19:32 -0700 (PDT) X-Received: by 10.152.29.8 with SMTP id f8mr10295088lah.56.1413566372109; Fri, 17 Oct 2014 10:19:32 -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 c5csp268331lbz; Fri, 17 Oct 2014 10:19:31 -0700 (PDT) X-Received: by 10.70.92.68 with SMTP id ck4mr10089163pdb.28.1413566365853; Fri, 17 Oct 2014 10:19:25 -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.25 for <multiple recipients>; Fri, 17 Oct 2014 10:19:25 -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 S1753819AbaJQRTU (ORCPT <rfc822;amit.pundir@linaro.org> + 3 others); Fri, 17 Oct 2014 13:19:20 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:56010 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753680AbaJQRST (ORCPT <rfc822;linux-usb@vger.kernel.org>); Fri, 17 Oct 2014 13:18:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIBrl029524; Fri, 17 Oct 2014 12:18:11 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIB9g029752; Fri, 17 Oct 2014 12:18:11 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:11 -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 s9HHIA0t030438; Fri, 17 Oct 2014 12:18:11 -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 44/67] usb: gadget: udc: at91: do not rely on 'driver' argument Date: Fri, 17 Oct 2014 12:16:51 -0500 Message-ID: <1413566234-13537-45-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.217.174 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/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index 9968f53..cffd2a2 100644 --- a/drivers/usb/gadget/udc/at91_udc.c +++ b/drivers/usb/gadget/udc/at91_udc.c @@ -1657,9 +1657,9 @@ static int at91_stop(struct usb_gadget *gadget, at91_udp_write(udc, AT91_UDP_IDR, ~0); spin_unlock_irqrestore(&udc->lock, flags); + DBG("unbound from %s\n", udc->driver->driver.name); udc->driver = NULL; - DBG("unbound from %s\n", driver->driver.name); return 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/at91_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)