Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1206002ybi; Fri, 14 Jun 2019 10:23:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfhAIP6dpcrwnfgkH2jw7mP62Eiqh34MoXujILU2sKq3GOICGOGuzYZ9SWc5dP14riD8K7 X-Received: by 2002:a62:ac11:: with SMTP id v17mr37914743pfe.236.1560533009632; Fri, 14 Jun 2019 10:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560533009; cv=none; d=google.com; s=arc-20160816; b=Z4Ziwj6ShtLz2K7ztoFQwgl81cOOFwnKy0wB5STcr5Rvrug8eAUpfiomVQRC8AxYC1 rwQeNOZ3iADoL1YuCE0ORiN+GIhUhKu+kFLxCEKYHjkV2eeFJGcexUwWlJYt01OBdJ9J iF17qN3WGf6MAu2idS/kQYY770he7RNopP0rqYAp6TdL9odXTij6YJa8lOzbgsbkzHKG ApuR8jNotCC4q5owcmtQDQCwmlHFFzkUXE8ZL9qWJFIZDI+weLTJZ628gdw2hOiInrR6 K+ftUbs2dsdBCYtEyFysaZ8P1wAc5eJ3ZH40tKl5Qm5iWAtkto0rf5psZNzh3Bjy6ndg eryg== 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=ifvdIbQ/N+4r0XUvzP0W1uvycgViUNZLjYHTtnz5bxTfVQYlnmAiuanG/5n68nZOAj 84c4nU/0Y9AYTIk9tjtpZV1pXqVrWsI7EEK3KLFDmwizUS1uAUZgwROd1BFMVhEOoIqL QvnV3MR6wpbXNHDsQqtjsMUPWFHMvGhZqQ7vdySwqzuUUm40ZzAhgSz6z+z07VlrNq+s z6d+4jTuYEM9LZXkTllWb+AKY9zKMukitjZcMp4JCyMc5hCP1ebE0+kJPG00CVOQ7AOp nM/Y90y7/MNDnz0lTROQ3GhWJxdh6GuS7fSwMgsV2B1WFz5eCFYOvy59tFW0QaMdqzS2 jl3w== 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 b144si2934519pfb.136.2019.06.14.10.23.14; Fri, 14 Jun 2019 10:23:29 -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 S1726218AbfFNRXG (ORCPT + 99 others); Fri, 14 Jun 2019 13:23:06 -0400 Received: from lnfm1.sai.msu.ru ([93.180.26.255]:50801 "EHLO lnfm1.sai.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbfFNRXF (ORCPT ); Fri, 14 Jun 2019 13:23:05 -0400 X-Greylist: delayed 2129 seconds by postgrey-1.27 at vger.kernel.org; Fri, 14 Jun 2019 13:23:05 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 x5EGl5nY020145; Fri, 14 Jun 2019 19:47:10 +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 50C4C40363; Fri, 14 Jun 2019 19:47:01 +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 v2 1/6] usb: musb: Use USB_DIR_IN when calling musb_advance_schedule() Date: Fri, 14 Jun 2019 19:45:49 +0300 Message-Id: <20190614164554.27679-2-matwey@sai.msu.ru> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190614164554.27679-1-matwey@sai.msu.ru> References: <20190403185310.8437-1-matwey@sai.msu.ru> <20190614164554.27679-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