Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp474333yba; Wed, 3 Apr 2019 12:26:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1AZXOARQUK3xuxiHdWq51t4bgtxIHvwI9Ywa6IXoqj5GSIKfZujn9C3mWfU0ZjsMgSGb5 X-Received: by 2002:a17:902:586:: with SMTP id f6mr1830238plf.68.1554319601890; Wed, 03 Apr 2019 12:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554319601; cv=none; d=google.com; s=arc-20160816; b=zioMaf2DGUo/CgM9/upwQgbt5RY8qX/hCLYrerHLAr7Edyd2pUFyJBMzd7ykcz4Kjp 7tjiwpnPWUEtipk++21BS3tKOPyf6N3mEpdZiC91qLjXlOi0Uv03Ebq3YvO0Y6mD1KKQ KuCYL4X34vz8H3lSk7qMeqi2ki4jhfz6hBSIWB243C2saalMYiEN6NYmtDdCxqKPFZoL I22KNpIZhTEoACVxNBkksIX9XTv2aa7bj+yswjRxFnJSE/mm8WyA7puLUwlWXY4ckDnV 1IGPP6/bAst0UTzdG8yOr2kow4DyJ4V0jytVtTjqdUYVWxqf6Ke0Jb0Xmi/ReMQXSJhD wWlg== 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=yQKogeDV1qxTn8rqyU2E+mNy1W+if9lLmEPJVcbJRPM=; b=e6SqgoOkRLfCsOJ+dV4VH48dvbcwDU6ROUWyHlZ1CfZC9mKiaEijmS98DIIJ6LbtSd vX3XK6QCStoCPhkFGERVOWt/Hpp6XQ6SStqzbNmiNsmyIwtyA8TigUdYiskcN0cDPAqm Y0kKKTi0wnDyNf9GaUbqGRNOCmeKTx/826Cn0vwMD+GGMIA7ffV5NwguiuAuMw209X4D xr1GqV6JBoknEE/FfjRdM8G1YgsXI+FMF31nVg93bTJUVOd/Qao/16Lh4kJ1TcdbtCvT wmQ2WkFsaGcSktp0omSS63zB/HNYoDkpoieX+ZUJJ18EQYj7UAJ5tefeF/bBHhMPfPFw Sw1g== 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 k4si13078555pgq.208.2019.04.03.12.26.26; Wed, 03 Apr 2019 12:26:41 -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 S1726588AbfDCTZq (ORCPT + 99 others); Wed, 3 Apr 2019 15:25:46 -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 S1726064AbfDCTZq (ORCPT ); Wed, 3 Apr 2019 15:25:46 -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 x33IrVbO024069; Wed, 3 Apr 2019 21:53:36 +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 3B8D1C085; Wed, 3 Apr 2019 21:53:33 +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 1/6] usb: musb: Use USB_DIR_IN when calling musb_advance_schedule() Date: Wed, 3 Apr 2019 21:53:05 +0300 Message-Id: <20190403185310.8437-2-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 Use USB_DIR_IN instead of 1 when calling musb_advance_schedule(). This is consistent with the rest of musb_host.c code and impoves the readability. Signed-off-by: Matwey V. Kornilov --- drivers/usb/musb/musb_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index eb308ec35c66..3ffea6a5e022 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -1195,7 +1195,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) /* call completion handler if done */ if (complete) - musb_advance_schedule(musb, urb, hw_ep, 1); + musb_advance_schedule(musb, urb, hw_ep, USB_DIR_IN); done: return retval; } -- 2.16.4