Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp474422yba; Wed, 3 Apr 2019 12:26:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVORKxxVz7XvEQez9zOJc4hVBIyxnAH0VydLAeeD2OHgkWNbd0FX0zxllxKREGRFAwbcaf X-Received: by 2002:a17:902:822:: with SMTP id 31mr1841896plk.290.1554319608008; Wed, 03 Apr 2019 12:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554319608; cv=none; d=google.com; s=arc-20160816; b=qZjXJOb6kSwPKIEMgcqQaC4Kn4J/oSio0GhlP+4x2twYvu++o7y5btuGFnuFRmZ7rE xGqREt2zWn88U0BUHxXfWSBRcn9//b6lH3yXn3xzlwwGGaKmY4XPKAik0UFchSmtdYHj MHR9v9DXBp+RlNpgDSx4JRbmFu99qhzVYxEz4mKNnNRD7nERpgHMNLK0HYjb3z+k/xWo ClqhNVOrojylchAf1lZyXwb+pEHzMpZp5N6vOnKjFW41QAH+3hRE0J8twmvsfu444JHR K+iEvHD13zZMbDwgiX5KX+jQ5BPzdbwzy56vl10860p6M9a1pBaWjfKo4LRhooS/ktSw b7Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=nc9i8/9Z8ygQOtjTg/7btWb7a2DStefl7OrMajw/q+g=; b=axaaa6wzoqPN5iCDPN0o+B7SZAwvbjzu9AQU9e+IWOK6AJ+4X++Vr/jnw9c7qBh4Di HYTN7i4jBeNTsrFeV/fDpiHDbtE0Ysm+fHp1YTf7kIh+7E9wXuMf9QBNXq/dDuObCOkK nlgqCKV6bWE/bHgUpYMCwXxq/7dkGgOeSAhTngoZzW5xiwckjYiy8i7KN29CipWKjd3C NENNOx+h6Yhb5vVT9WHsGolmctYL7HWipfGZVtLVn6Q4bwVb4GK4gtWfOeU5QbDx72Ur 35iqy6ciea9A/O9Zw8KFWUCzBrGd/MoBfbrP7j5doA/8tfxxakvaUXeZu0bnV/IG5gND EYnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d19si14242431pgk.115.2019.04.03.12.26.33; Wed, 03 Apr 2019 12:26:47 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726790AbfDCTZx (ORCPT + 99 others); Wed, 3 Apr 2019 15:25:53 -0400 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:49521 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726206AbfDCTZv (ORCPT ); Wed, 3 Apr 2019 15:25:51 -0400 X-Greylist: delayed 1904 seconds by postgrey-1.27 at vger.kernel.org; Wed, 03 Apr 2019 15:25:44 EDT Received: from dragon.sai.msu.ru (dragon.sai.msu.ru [93.180.26.172]) by lnfm1.sai.msu.ru (8.14.1/8.12.8) with ESMTP id x33IrYGb024076; Wed, 3 Apr 2019 21:53:39 +0300 Received: from oak.local (unknown [92.243.181.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by dragon.sai.msu.ru (Postfix) with ESMTPSA id 78DE679849; Wed, 3 Apr 2019 21:53:35 +0300 (MSK) From: "Matwey V. Kornilov" To: b-liu@ti.com, gregkh@linuxfoundation.org Cc: matwey.kornilov@gmail.com, "Matwey V. Kornilov" , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 4/6] usb: musb: Rename musb_start_urb() to musb_start_next_urb() Date: Wed, 3 Apr 2019 21:53:08 +0300 Message-Id: <20190403185310.8437-5-matwey@sai.msu.ru> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190403185310.8437-1-matwey@sai.msu.ru> References: <20190403185310.8437-1-matwey@sai.msu.ru> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the following commit we introduce new musb_start_urb() function which will be able to start arbitrary urb. In order to have intuitive function names we rename musb_start_urb() to musb_start_next_urb(). Signed-off-by: Matwey V. Kornilov --- drivers/usb/musb/musb_host.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 5d23c950a21b..3a202a2a521d 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -213,7 +213,7 @@ static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) * Context: controller locked, irqs blocked */ static void -musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) +musb_start_next_urb(struct musb *musb, int is_in, struct musb_qh *qh) { u32 len; void __iomem *mbase = musb->mregs; @@ -403,7 +403,7 @@ static void musb_advance_schedule(struct musb *musb, struct urb *urb, if (qh != NULL && qh->is_ready) { musb_dbg(musb, "... next ep%d %cX urb %p", hw_ep->epnum, is_in ? 'R' : 'T', next_urb(qh)); - musb_start_urb(musb, is_in, qh); + musb_start_next_urb(musb, is_in, qh); } } @@ -1001,7 +1001,7 @@ static void musb_bulk_nak_timeout(struct musb *musb, struct musb_hw_ep *ep, } if (next_qh) - musb_start_urb(musb, is_in, next_qh); + musb_start_next_urb(musb, is_in, next_qh); } } @@ -2141,7 +2141,7 @@ static int musb_schedule( qh->hw_ep = hw_ep; qh->hep->hcpriv = qh; if (idle) - musb_start_urb(musb, is_in, qh); + musb_start_next_urb(musb, is_in, qh); return 0; } -- 2.16.4