Message ID | 20221228161704.255268-5-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1970381wrt; Wed, 28 Dec 2022 08:20:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXtvenFyqt40XxqIwITIrnXvQhheeFAoSg1Y9onNV359g8fMkHPLZn22g3/e2EifgB+ACnyZ X-Received: by 2002:aa7:c053:0:b0:482:e3b9:f46e with SMTP id k19-20020aa7c053000000b00482e3b9f46emr12915443edo.39.1672244428901; Wed, 28 Dec 2022 08:20:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672244428; cv=none; d=google.com; s=arc-20160816; b=r6l/LK1gJaUzG+md5+MEkahyVn2J32O5ILoqW8HK7lwM7XE1b9cr3KZl0shMMxmHwu Oa5czDcy58pUuryuRmb5VBaNdnLLJRvxE75sKbSIDl8JjOzxGxXgjCzeKqyaKUTj2zNM cZ+KF1P5u2MVftVEn4gXCimsogeTQZBPu2bx9AoAZxcKfqpuecd+7A2J+S3jx3+7UErT hi0H9AoG9OAEXIckdr1FF3EU6+NrCcg8YqJv9kovbnO8x9kmabYEh+0nxotuUP6IFBV3 ljnd8XBIAdzvpEk0k7Eb2gnDyUEn4XBmcpU6eJiJc6789J7fmAPviSmCCg0nUnJAnwcr zLCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SbuT81cTqrWb06I08YNk/QYGpUnIYQwfiUqfqhuTPAs=; b=wNbqzsxBzg6xQvWdHrfH3zBg4yFkwUQk/Kfhq39RoACsLEVZplHlVvn2hQqg5iPCy+ SOWhQRGtnMBQpvDE/ICqbCT3LfIPjuvjWcnNvTSgam1RqHytElZfhw4bEy+cWeCIV/mB VJof7SFfm2AvHE5PKdZsYyl8Djm4jQlkhQjG1T915+i44hmdQVHE2jWozoBsDfz085kv DZjzWTpbP/GaPhfF2AS/H8WS4JJvtIkC+sXQBUGanBEA1s0wGslV2TvY/9XWh4ciqP3R vVg3fSyc6hGX8jVAQWGmIu3XOuq2357LNDgzg6W+eHFYzgwBwYYGdTFqHA8yYIw9dDMX PzPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JwkluDZy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i14-20020a05640242ce00b0047531b0169asi15749002edc.301.2022.12.28.08.20.05; Wed, 28 Dec 2022 08:20:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JwkluDZy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbiL1QTZ (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Wed, 28 Dec 2022 11:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234445AbiL1QSr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 28 Dec 2022 11:18:47 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA17519C3A for <linux-kernel@vger.kernel.org>; Wed, 28 Dec 2022 08:17:31 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id fy4so16670204pjb.0 for <linux-kernel@vger.kernel.org>; Wed, 28 Dec 2022 08:17:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SbuT81cTqrWb06I08YNk/QYGpUnIYQwfiUqfqhuTPAs=; b=JwkluDZyi7Hbk8sR9WvMw++RLfzCX9DprsV3tjkhS2dzv1yi7hfwIIdDLn2zDn+WMU zXSx2D7xPxtwGEPFtzUYkN7s+Z2rUHQGfnEckae/t0WEY9i9Cens7510/Q4frn+bq0Y4 R4qgF86gnbPdO0DZQD0FODtGrIwqZzwXERjL3YpRvaLQEMHDtYBGMWkEigYpLp3Pqf7M Ffap7EyGYsRbUb08/5RNkuPLE8UKKZN/qnC66e00Hrtx+ElVMdBQaWfukcJqMczec70i S45NoYIx8YZCIx6JUzPTBO9Sa1PjT5kB9FOnLI2LTd8HSUkWv5wQAgmy3yxVZZDN28z6 3+yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SbuT81cTqrWb06I08YNk/QYGpUnIYQwfiUqfqhuTPAs=; b=vTfXkS1Gt2mdoIg2EmrwxCuBsBCPJwY+kZazcTAbyoM1euAbWXUZ000ZRgbkYBbvY2 uvEFYDJfS8IjSQLc6g+Epvu47qzHpxVwZUblpD+ppQGftlONKIMNvodW/010Om+yMX7A ttBtfHEADeK9/UGSxWUWrOd7/uVpuP+wJXUEbpLtG5sr+2TwSUMf8VWyl4fOj6/Untu2 v/I/VMPqnfCflU/kW+o+egf46Pwdzskbea/POijm1Q5hgzoXh/4hmgELh+oz9xnGJlW5 FJqiUioxrVQOqqGUlyOEVaj+9HYkx0fqmEvRE2WITqykmq7aORUEaHUL04udUgDZxdcg +QgA== X-Gm-Message-State: AFqh2kolr6GQIg0YB0wN0l8j8mLG6RjXics/GnLBvSZvLA2O8gds/VDr R8F+oso26kHWPRoQJ0jLr7Jh X-Received: by 2002:a17:902:be16:b0:188:f0eb:ce10 with SMTP id r22-20020a170902be1600b00188f0ebce10mr30387826pls.65.1672244251263; Wed, 28 Dec 2022 08:17:31 -0800 (PST) Received: from localhost.localdomain ([117.217.178.100]) by smtp.gmail.com with ESMTPSA id s3-20020a170902c64300b00186abb95bfdsm11256798pls.25.2022.12.28.08.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 08:17:29 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: mhi@lists.linux.dev Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 4/6] bus: mhi: ep: Fix the debug message for MHI_PKT_TYPE_RESET_CHAN_CMD cmd Date: Wed, 28 Dec 2022 21:47:02 +0530 Message-Id: <20221228161704.255268-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221228161704.255268-1-manivannan.sadhasivam@linaro.org> References: <20221228161704.255268-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753475374258382303?= X-GMAIL-MSGID: =?utf-8?q?1753475374258382303?= |
Series |
MHI EP fixes and improvements
|
|
Commit Message
Manivannan Sadhasivam
Dec. 28, 2022, 4:17 p.m. UTC
The debug log incorrectly mentions that STOP command is received instead of
RESET command. Fix that.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
drivers/bus/mhi/ep/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 12/28/2022 9:17 AM, Manivannan Sadhasivam wrote: > The debug log incorrectly mentions that STOP command is received instead of > RESET command. Fix that. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Fixes? Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
diff --git a/drivers/bus/mhi/ep/main.c b/drivers/bus/mhi/ep/main.c index 7d68b00bdbcf..0bce6610ebf1 100644 --- a/drivers/bus/mhi/ep/main.c +++ b/drivers/bus/mhi/ep/main.c @@ -226,7 +226,7 @@ static int mhi_ep_process_cmd_ring(struct mhi_ep_ring *ring, struct mhi_ring_ele mutex_unlock(&mhi_chan->lock); break; case MHI_PKT_TYPE_RESET_CHAN_CMD: - dev_dbg(dev, "Received STOP command for channel (%u)\n", ch_id); + dev_dbg(dev, "Received RESET command for channel (%u)\n", ch_id); if (!ch_ring->started) { dev_err(dev, "Channel (%u) not opened\n", ch_id); return -ENODEV;