From patchwork Wed Jul 5 09:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minjie Du X-Patchwork-Id: 699259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B7A5EB64DA for ; Wed, 5 Jul 2023 10:32:01 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AB3FF7F1; Wed, 5 Jul 2023 12:31:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AB3FF7F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688553118; bh=msV/R6SK4pX9AkslS9pKJUVMSopvlZJuSWkwGaNucmY=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=cXVn4t/zkFziO8TfOZuHT7fd7Jhjz7J6ACd1G5cTkvipluRxA9XynQ/56R+H2+tSg ET3kEUI+GNxFZMRiKPbtk+HN9WacZ7J63pr0nYMmfrdlZ+vaS1XggrDf6DrZ4vqoxy fEpY2u37zEIje9jKj++Gmm4YMKZt8J/Q/H8R0nkU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1C592F80571; Wed, 5 Jul 2023 12:30:33 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 68F61F80557; Wed, 5 Jul 2023 12:30:32 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B0524F80125; Wed, 5 Jul 2023 11:36:10 +0200 (CEST) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2070b.outbound.protection.outlook.com [IPv6:2a01:111:f400:feae::70b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C1E5BF80100 for ; Wed, 5 Jul 2023 11:36:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C1E5BF80100 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=vivo.com header.i=@vivo.com header.a=rsa-sha256 header.s=selector2 header.b=BcpvHtHh ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FcTCrC8tjDFTpQFAWPvIm4lpJj/nMqDuavy5RQ7M+tXDdjP3ZRfQlTzuF9J+Zg8YPb3BJMcGVbNJsRXZ3EN0eTiWO0mBa7OlFfq4AeleCgkuBSTrHUctGiOMFnZcq9YdYBulIBFQKGrkocOPFsvt077k7pXcjD59lE1uwIvcfQxjMp8H55XPpQT1l3Or2p044M5EpSpSwupM+aP3SaR8YMXYnxOM5rgLhU+RbDLmSOK2GWuXl0xXbpv32AW6dZ2KxdEdvMPlNtaiJtEcVorBjU7rzbxC7a1NkHURrdVAShuSyrEa/QHsGv64j/gCoIL1/qNTtkCAzbKA2RxJOeVGcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=J+332pVCNc6Ejg+1tpRfgJR7IiVzh6HZ1aD7HzvxUBI=; b=ocamacofWbA2Bv5FgnCXfUixXkEuEwc6hrz7NyKZNpOARUAe+cvAkBW5ptCPiVicv0Kjgtx7JujHsTPQofYEg+uwzLuVNVOqdnXTLe0MdkMGlISSAWm/4kmeV0b7D2MBZnavQtKDkgsyXfsSZBYGZ0lo1+LZDnOz4gQr8dVIMKAju5JZ7Pdn77LVMeKRJfq+3LQ6K24IrVJmRZ+4Irt8CsjSg8iFzlvlvAlEas1eTtthvwfJsNJfSmFGcTnIAWpnjjfFR7/j8GZ9d0ZdYjAevlrjkYzeP4mPOih4Wfqr7dCPd0w0BguB6Td5HaIhTekabusgLTeBx8fcqTjk4mqr/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J+332pVCNc6Ejg+1tpRfgJR7IiVzh6HZ1aD7HzvxUBI=; b=BcpvHtHhfMdLpfDi8SS5dB+T/QTpYc4Hjnq14h41tDk6ts8LXFUXz+SZhe38sovg9M0dYmVqOBMwYmj4FN+q4tYD1xeGLK0tIZXqs0hohH1O/whxbCralxuJHwJzsUlPxVDOP/ZGSlqnJPxT6SZ/OufVF96CRJanaY8/nQ/T7OfvD/RCTV04QJqSp4bjyGUDFfURwV16DNP1qLJGc1uyeUiLR2DobQbgo6bVmK/hBD9sSe1WnwER+xWZTfTVrzMYf/sQvyT0XjrPUBWYIW0ekCjOfm7/EQLzcui842EBRiJy04qXN2x6pM3P0SN1VEAhVAfUdtLXaL3NBBwZbt1rBQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by PUZPR06MB6268.apcprd06.prod.outlook.com (2603:1096:301:112::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Wed, 5 Jul 2023 09:35:54 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6565.016; Wed, 5 Jul 2023 09:35:54 +0000 From: Minjie Du To: Jaroslav Kysela , Takashi Iwai , Minjie Du , Stephen Rothwell , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Cc: opensource.kernel@vivo.com Subject: [PATCH v2] sound: seq: fix typo in system_2p_ev_to_ump_midi1() Date: Wed, 5 Jul 2023 17:35:45 +0800 Message-Id: <20230705093545.14695-1-duminjie@vivo.com> X-Mailer: git-send-email 2.39.0 X-ClientProxiedBy: TY2PR0101CA0022.apcprd01.prod.exchangelabs.com (2603:1096:404:92::34) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|PUZPR06MB6268:EE_ X-MS-Office365-Filtering-Correlation-Id: 85be36d5-8fb4-4ee3-99db-08db7d3b3a4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VcdNaQeVq64CIDcO4qIAuXXs306uOJbjd5RmFZShUaKwlxqx1kqhvrFDPeetB/ZXs92U1PpZ7Qyjstm1/UO0+GDD2q6LBrhRDAfqfFCGS2ueXC/s5RbAiqZukzP4qISqUDNNLet7OwV4T3rlDx1OV29jcRyJjyYWO3Ih2xZACXXezGtYsrW7c4RESNDbm1a54qJXMhRghmdI3Z+BU3apApT6SwPwdz7wjtObIuu0hJBtFxN5CE34y/G1JNhTKvgGUuGkYz8wXoUCmQJKKLf3QeRJTngsjxAZC9Tp3lwymyvD2Gd9ym7XaDVedpxHPDVFD6RuP29bfI9Tj8Zh6Uv+KwR+T5XOUugiZ6CoGP0IpfMlVYLJOkY/EYP1FpgLKNiAasRh7glOafInZYMIUql8vxZnJczzbRuk6iXOOE3mXd+0PpZDnUDTeHqG+pNti93kvt9dAwsRw2TUa82cUTyum+OtLNWW5+S+7PMvtOZe17Z67nh6hvnYdwFWBVAs0LF1DZo93K5194ajWuwlZ4gvyysKbDvStj7JCSyCKih1AO9Pxf0osaun84c1AOtoOJL9f548ArTqwGXXdPHECL1IuD7dSjrQ/gQyhZL0pe5mDfYZ23sFWfVwJDGv5AiNnXHS X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEZPR06MB5269.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(366004)(346002)(136003)(376002)(39860400002)(451199021)(38100700002)(66556008)(66476007)(66946007)(4326008)(38350700002)(2616005)(186003)(86362001)(6512007)(6486002)(52116002)(36756003)(6666004)(26005)(110136005)(6506007)(1076003)(478600001)(107886003)(8676002)(8936002)(4744005)(5660300002)(2906002)(41300700001)(316002)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YEnbQS1HtfCRxAH2cy1qADCQsn057g1GOK2vdg5K+PWdME6NwMk+dh/iD05rA3reDmtDS0hewZ828sTRoic2n3iv1E1bQXG1yTC9XMYHsEVriP3w2TczzI59PetwWX6xpv0czH3068MLIcs2ZLFZ2xRizEReRrC5MnjLIRiMFgN3jPwtHi8NrUBN71nX23UNLFCfNNO7wgoRM+wN1z5wkiGAMzouR/MbNBPkM6SJt5+UrXfjhAxp9W8nmyzXPYbpk8M5D9h4ijUVOhoedkLJzaNEGTZMdvVhEH+qgxF2f9rrTEtu7QcEwd9iNSG53VUS28CixhOV1WFSYRstiqhgBHfPGxO4KT99x85MwyacxVSzuLXvP0DmIuAGAqo5F1SJ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Z5xRRt4FtoJ6mjtuaEwMO3Wwe8dakOwxTG8ZjEymJMh/pcAu56gF7lo50DaM6clZsQLiYHoBvUQZZQyhWJfxi/L8QfZEie1moqNWNfSe/7XEDa5NXQrO8YTZDnx2Vh7s0usx7FzcEVJDf0tE6xsoz5nLbENYh+ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85be36d5-8fb4-4ee3-99db-08db7d3b3a4b X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 09:35:54.0014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OlxJNgpx1E+VWbCQJohG+FFLirbfdYWEFQsOW63zotwVK9KgBSlV3EHbwR+0Eu22WS/iSwOb2kMRFaR5wbdKmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB6268 X-MailFrom: duminjie@vivo.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: PJWBZFIMFIDOY5SBISATW4XV55H4H4JP X-Message-ID-Hash: PJWBZFIMFIDOY5SBISATW4XV55H4H4JP X-Mailman-Approved-At: Wed, 05 Jul 2023 10:30:26 +0000 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Fix data->system.parm2 typo. Signed-off-by: Minjie Du --- sound/core/seq/seq_ump_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c index eb1d86ff6..7cc84e137 100644 --- a/sound/core/seq/seq_ump_convert.c +++ b/sound/core/seq/seq_ump_convert.c @@ -714,7 +714,7 @@ static int system_2p_ev_to_ump_midi1(const struct snd_seq_event *event, { data->system.status = status; data->system.parm1 = (event->data.control.value >> 7) & 0x7f; - data->system.parm1 = event->data.control.value & 0x7f; + data->system.parm2 = event->data.control.value & 0x7f; return 1; }