Message ID | 87v80nk52q.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | 7ca1d0ed1ad006b874a4ec94a004d194ab0cfb5f |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 46E2BC3DA61 for <alsa-devel@archiver.kernel.org>; Tue, 30 Jul 2024 02:05:50 +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 92E04847; Tue, 30 Jul 2024 04:05:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 92E04847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722305148; bh=Uz0BLhD2GyMCwhQZtJ4aImlmOkDbIwa1uZX8ZrpvG6o=; h=From:Subject:To:Cc:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=qLEoq7o7ZEpGndCmfJQPdzB7X2k9P2uEwsWCfsXQyoDri3Z7TyRkKMpTG9ivSlOCF pmLCahcj+c3G+kPigJ2mVtS6I2NdGUahpOsOT5HlJHTTiOrtjGUOupuvHk5BqPyCj3 Xs10vR5zimhRRCynep5pGF1EW1/peoloADDTLcd4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B52A0F805BF; Tue, 30 Jul 2024 04:05:14 +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 81763F805E1; Tue, 30 Jul 2024 04:05:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C8DA1F80579; Tue, 30 Jul 2024 04:05:09 +0200 (CEST) Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c406::1]) (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 EB31DF805BA for <alsa-devel@alsa-project.org>; Tue, 30 Jul 2024 04:05:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EB31DF805BA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=YZ7JOFXl ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V6vW339l39k3T/SDAPEzNXmMDugaPN5SOEKcLt56MbNDZiSfHH2GO2QvHPOcLVjCwt6WUiDNzkqhj9QIFSoPF9IrUw8TAFW1gytZnH+g0acEecsHthRxsMbdusCb4tA2k28TiX++KeL3WLMzD4aFLIZfzJbZRMUO8F2ZW6wznww+mnqiaz6+mmGou/KjYakuw8PNiYjq1/OqhyL3+OOscYfpvehxm/nIHBMdLfmsnKgdLxUEV87d/LjBvzVwxwOxOmMY0LDRh4MfRxvHJmrLA82dfgYdDE9As57PyXb6VXC9BxfbqLzJRg/fjDHxBbewPmrx5aqUVHTpwSmgKcqmpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BzdjireUc113LOsDnALOYOgQGRy78zRnNIDTrvhvIzQ=; b=Kc4SGhN0MDsvbqCV0nEfFGYN9UHc8o0z4La+nXftsGosZmjLZI1Q6yxn7A/IuQwQI++tggZvT2Bq4tDnXzZZtK3gmfl+WyiFozrI6ocVwO7dAf0bPUuMGtSbIzxtlFbVZgOmxFXfpifwF4gSUYiZ2TraYLpHcdySRMlw4nfsx8uQ4qL9jViMCkS8pDWP2g+aLZD1ty/Wxz/CUltUrG1UlosPHAeox1QDzV9qH3jSWrSmz24FsEHnj06ScJRCDu+znqrhv7zIgODOcvBvscdj/bBbMb2zJ5IAI6N5xT5W3Fanz0/NL3SbslNEpJHfMMi5YZQQhYPRZoPL5IBLixpzRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BzdjireUc113LOsDnALOYOgQGRy78zRnNIDTrvhvIzQ=; b=YZ7JOFXlay1p9shbmbanYFKwvYgYOUD61LR27ethu6AfbtpjxDTJSfmNNQrFlepwkZL3kcaxsSqTJYr/AsJTDS5hF1fhB3j6MCHHNlkn8Sbrf56jz1zgWg9pne5KpcpyT2vxzDMPniuaX9iak/uREquXxtvWwA/EfMR66+PXEOc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OS3PR01MB9786.jpnprd01.prod.outlook.com (2603:1096:604:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Tue, 30 Jul 2024 02:05:02 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.7807.026; Tue, 30 Jul 2024 02:05:01 +0000 Message-ID: <87v80nk52q.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 01/12] ALSA: pci: pcxhr: use snd_pcm_direction_name() User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.de> Cc: Linux-ALSA <alsa-devel@alsa-project.org> In-Reply-To: <87wml3k539.wl-kuninori.morimoto.gx@renesas.com> References: <87wml3k539.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 30 Jul 2024 02:05:01 +0000 X-ClientProxiedBy: TYCP286CA0351.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:7c::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB9786:EE_ X-MS-Office365-Filtering-Correlation-Id: 60213ea7-34ed-41f6-bd91-08dcb03c0595 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: VmEKtiz86idefbiANLg1LviCmf1KQLnllVuEteepTBXVIMbL+cp+zWGbEe4hS9q8rn9JUhVdXqRSqjjNoD4S+/saB2Q4dILkX5e6hpqtkgobkEFPKTuxsL+cYXzbZLV3qQRIzCUo4B8a+vhozc2v3+Y5WClmQ4y77tKHTRma2/O3otkKPT9DM29ja3p2lz8bDXlMbl7p3JMmuliCL1L0FqOiJr8V2pnLoO3BK1bfN2x6sm2RT7R5YvTtMwjKbHxaz5rOqWzzz74/QrUzIuIFBa5QZfi1BzoxOvRG858sac9eUhMfCDVsFdPK7UfKtqSA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0ghMCLOGYg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rxXCVvxdlmNvR/OnoKRo5HMvd6fasa3qWDe7OE6FJCirGUyopt5/OjPO1AaqjE6JoU+EljuJRt/Uqy/t2WA7gR2nC0a8iwvH4MZCh1sPMZb7MsG0Mb8ZxhlolG8xtn/AuR+bceyOzImqozoXU49n9ugWwle0eu+h6MWeY6smPDfg4KSdy3R6ZU2at455pM90mOgdnlwliLSmYT7l7uRs/nK81MjpWhhuUVuYX38fS/vB6mxlg5/poV4zPD8i9/KufKJK+2/vMrI1MUaBa1d+KrorLetd9QuM3O5s8gxMmHR3KKKFhgvftxTVX3Mef+4CzfNysGDqEhxxHOhMeYU2p0+6ExOIrr4IKe2kIHSSA01s76GHIL1nmwL9gUc7xjpCe9ffkJuIbw7bHFKK1uSo/J+Ppey7+S2GCcuKB22xeHjw6v/u69D31hlUzqKV4cvFp1NYaucgQg31iXA10VmzUy+fC5F3GdnhcLCDDdcJzGS6PV00RJUyTZvFNu6yMa/o53zd4s1Efgt+8X9IhckG63f36TZSanF9TBDlMLRwS8iBhMTRlcl0J2XTmmMsyldm77N0zk746PUpr/oSL2BJLDrqZy5cjquug3T5+yYRXGLF4lLkvuI0BnZ7GwMKN3C5Arh49qJKnYj050hsW2eec0lBxO8DeO/Vro72mBn+HTJAvZ8hhU63RRv3mKWFPhBtum95LWN2kxgxJPehJBKBAZNcF2wzYgLiDBxdM7qjgtzCFLeuR7UoCzN7UBzQJSfW11jSClw+u3U4mpFy6XJUck/tprHMVWfkjVBKq0Rxq/SpexfOwsjTyAVZiv07Oqbaw9x8eSa943Iw4JmqZDJbfVY9FJXFPFcq3FpRiBhTte7JHKO8tVGdupvnqsuIHZvZ8Vsl0OK7kDK6/Xk1HaGuJJIq+dgjBBv9JHBFGLDpsfu9X+XYiC5Ircj7q3jGlamvHcAteMRJOPJalbcCE4i6eaCKv2+7vUzJO935uKDVCIGucqE6t8IY5p1Ep05GgHbGNo3iZW2xUBcI8xHpjRxDcF7zNhwlSWLNdA8TqUhSVoP9ar/rq6UtDCJOFcT/szGJSe8b/A6ITO2Ue8jPoodBEgVNmBt8LVAqz50xWKIhZ99V1VmKHm2DA5sZTn/eYwvNPNgYldZDawhmOHtB96Xwb5/9twFMqSU1i+rYtrVicmDJq9eYTggdwUmQLQsMNjeePPOXoVOCRAsPhzYRheqhYdMaZ8wqjnOrTu0Kr8iBe+byfriIXHWvSZrxhhPtAxhi7TO/WBHDbDG4mJhweKCAXIONNpLt9SlMsta9F7xggqq8ppWDp3vKR5FxlIqLXu4GOELKwZk7aKkLNbbvU8jZC2W1JnPf+2ye/ydl2iBdkssmd+90+Si/RHIaqBslf8IhV37fvrgYRHVtYWSaU47+enG9q1icA35Jg+Na7c/NST+eqzJh9ZyfMPlmnhn5Ksxk2SrCOEexjVaN+h8qzU4GqQsotlDpOY6k6KHA2vldBre5lAuhFFunCcl2dnCrfFL5d5obb71pCdZZnbgxCHLe0uJE8phBkyAOQkpYm4B/tOHtQu6qH9PXS8JVZQPIXPXHY16qrLBQ8MxYcbh+KpYuveX9iMNCIhVPmOKNpMI0NAo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60213ea7-34ed-41f6-bd91-08dcb03c0595 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2024 02:05:01.8952 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g7iNxP/db7hY6XNTHR1pTHRfTSSdvZUpOTxI5XuJ3RGicAoDrEqqTRDATxRb9RZhNggBj8jfA0Nn1P2a5dUa3UuJj35WiBQsTV0dPZMujC5aHgT7eh8sU0/UdYm9GCiP X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB9786 Message-ID-Hash: DGGX2WLIJVILW6TWGMVOYUEOE7XE5BIF X-Message-ID-Hash: DGGX2WLIJVILW6TWGMVOYUEOE7XE5BIF X-MailFrom: kuninori.morimoto.gx@renesas.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/DGGX2WLIJVILW6TWGMVOYUEOE7XE5BIF/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
ALSA/ASoC: use snd_pcm_direction_name()
|
expand
|
diff --git a/sound/pci/pcxhr/pcxhr_mix22.c b/sound/pci/pcxhr/pcxhr_mix22.c index f340458fd2e11..e1435afc49074 100644 --- a/sound/pci/pcxhr/pcxhr_mix22.c +++ b/sound/pci/pcxhr/pcxhr_mix22.c @@ -535,7 +535,7 @@ int hr222_update_analog_audio_level(struct snd_pcxhr *chip, { dev_dbg(chip->card->dev, "hr222_update_analog_audio_level(%s chan=%d)\n", - is_capture ? "capture" : "playback", channel); + snd_pcm_direction_name(is_capture), channel); if (is_capture) { int level_l, level_r, level_mic; /* we have to update all levels */
We already have snd_pcm_direction_name(). Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/pci/pcxhr/pcxhr_mix22.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)