Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp16619877ybl; Wed, 1 Jan 2020 09:24:51 -0800 (PST) X-Google-Smtp-Source: APXvYqxNKhDfhI2j1iOy+2pJnUsDO/gAxPf/rcUIfy7ECXIM75v3BA3gJ5QR57AkqO0Fxau3b0qi X-Received: by 2002:a9d:da2:: with SMTP id 31mr84014482ots.319.1577899491780; Wed, 01 Jan 2020 09:24:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577899491; cv=none; d=google.com; s=arc-20160816; b=y24sCFXrT6uCQKmaDYe10ZGmqfugjgvDjwyb3kG7H3AseZcDyM9BeR4FSUkD9D3YMF FR48mJMQGTpkrKIuEbAjRgW3g/C5rqMdA2znA3RM3dcMsRqWPz3hCRr4eIlQdTAvEXPy iOona9PZZu9EV7LdYJZkH4Xm00t3SnIo9HZwjSIelssD380Wcc3He4CYvgdPB2kyvqSS qHh/erC5WPH9n6+5mohcqGQgIDWHV5ZXltEnBMEh8TaJAeVOCffxvF7QFCSoamUE6eR1 x/OM9kiTxL0BCspgkGct1H3ZFR2X7L9CgidxPg72f+cR74iY/S2VEZ2NxFSn0C4LSuz/ 6PhA== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=yQKogeDV1qxTn8rqyU2E+mNy1W+if9lLmEPJVcbJRPM=; b=f7iUnt5avq2CAroPMC7osoOyA0HwahbEJpEsaacxfwQUNtyMfCt2/k6OxLye9BzHyB xPvFhr/Q3AAHxwkd02AjOJ6pNUfDWZOVzYVv7AzyDUEwOoDjLtBgqlxr+8Ua5nvkmEfk BuDEKq7IF0qxdSMwYygHCtVlL0MW6ayABA0J7oY141MkXkCLMtJDJ3Q++CCm4ZSTImO5 3PmhHocwWrE95jtAdij2TSuOlGWIScC3S9HxrIgViTEi64fI0Q+eehVYk2s91BMz8gP5 ymk0sq4RD2Iw2tFaQDcHc5L9FQyXdOrsFFd03zWfY+HOOZ0gUaqhX2r0ibQe8Ub2dE6u qlBQ== 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 d140si25000299oig.269.2020.01.01.09.24.18; Wed, 01 Jan 2020 09:24:51 -0800 (PST) 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 S1727242AbgAARWk (ORCPT + 99 others); Wed, 1 Jan 2020 12:22:40 -0500 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:35309 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727215AbgAARWk (ORCPT ); Wed, 1 Jan 2020 12:22:40 -0500 X-Greylist: delayed 3350 seconds by postgrey-1.27 at vger.kernel.org; Wed, 01 Jan 2020 12:22:39 EST 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 001GQIrU001781; Wed, 1 Jan 2020 19:26:23 +0300 Received: from oak.local (unknown [188.123.231.178]) (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 DD9457FDE6; Wed, 1 Jan 2020 19:26:19 +0300 (MSK) From: "Matwey V. Kornilov" To: b-liu@ti.com, gregkh@linuxfoundation.org, stern@rowland.harvard.edu Cc: matwey.kornilov@gmail.com, "Matwey V. Kornilov" , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND v2 1/6] usb: musb: Use USB_DIR_IN when calling musb_advance_schedule() Date: Wed, 1 Jan 2020 19:26:05 +0300 Message-Id: <20200101162610.15819-2-matwey@sai.msu.ru> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200101162610.15819-1-matwey@sai.msu.ru> References: <20200101162610.15819-1-matwey@sai.msu.ru> 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