Message ID | 874jo1gq8p.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
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 09E49C77B7A for <alsa-devel@archiver.kernel.org>; Thu, 25 May 2023 05:01:49 +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 1083CA4C; Thu, 25 May 2023 07:00:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1083CA4C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684990907; bh=N/B4Y38hjWN36QyDhxmBfVcYZer2SdQFwlHsfgd9Bco=; h=From:To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=uW4uRBxZOX2W1tgHuOybuuUW+ZQ/wCcGn0WuH7FEE7HbAIyb5pPWAdb9FGG/YjCR+ vvbgDR/nQw4xUlmmUliTKTQCOpP2Bu6Omm5bQBn7Z8NIUVr/8mP+s4VC2uGzneQiD+ 0o1bvGbkEe7ncx/ULlbR0fFQmALtO5loNb2B7Pvg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8F071F806D2; Thu, 25 May 2023 03:22:01 +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 3E7DCF806CB; Thu, 25 May 2023 03:22:01 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D42CFF806BB; Thu, 25 May 2023 03:21:56 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20708.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::708]) (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 9E1FBF806B0 for <alsa-devel@alsa-project.org>; Thu, 25 May 2023 03:21:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9E1FBF806B0 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=B+dkmBsY ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MuF/jB+gWBWfCAqzltEgoZyUueCvxoCcg1sKZ1RYruPa+P8Lz9ddMbiQWws2SM+b7M8W9cHPKy/UH17Gz0nDTLHGB9FXd90MgP3McFGld/dH1yxb6hL7rH1GFVDwYtLGlmNeBB/DJsYGY2LQ0aCNqaNN5sAvcmIyKpnhZpmdf9gdml7XuN4bR/ABHugybb/RFlkchqLi/svXAbHKMl3nKngEh4oEhPI4ezcV3jMmJqHPY8uy0KnfGPe4ivEnoqFPu6IFTDW1Xj1xVkgaUEmtfV8AetIeOfSJs5MgfxWTC2YA6e82DO132cdHgt7yEEfVae6pkKtlV4RipRkpJeFWLw== 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=ee6ivP1wWvXZ4wj3pxJ8Yls6cXQZCmml9pEsGukaNPs=; b=MVYBym+pvlU59EWPiPtt9frCk5+c5S1qAIwYV0jbHCTTu4SlWC12fV+pTMxmNMHyHaFdeD2rdJba+UCHca0ge1ouPqltqlUlWhwSfKiQzYeCYYE+L96HSDdOAGWRGQWTTbufxeOZwHGDB47IHKhju9J2IeHuVTT0fpD80ZuaNaYleeml1HgrsE7l7QYEpU5C+WVjmI97ucLmtb3RygNWzFP3Jd4u8bp/cAKN1xYWoMlkRHvHiRv8nJzn8In79faQqzQ/Hts0IH/iGfQuJz7zDghJdqniSo3cxAVAqNtOLJdm3AB3wrm39FI+Y8mkGnwBbzqa6K11wi9+ebiK6Q8ybA== 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=ee6ivP1wWvXZ4wj3pxJ8Yls6cXQZCmml9pEsGukaNPs=; b=B+dkmBsYJlgDfvMjcOrei1+W9DssT+Y9z6wFTKplBCEVVQJgjYLCHnob7hr0+o2y2TQrfZwwG9273R1NuaBWcImAz8Zjodij8gekGXw8ugHi/L6EGsSFq1mMHiofZFW71Q5SZyF9XFtXCELvLgsimKlEWrnYdA5eWes/Jf6FAJQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB8440.jpnprd01.prod.outlook.com (2603:1096:400:15d::5) by TYWPR01MB9477.jpnprd01.prod.outlook.com (2603:1096:400:19a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.14; Thu, 25 May 2023 01:21:44 +0000 Received: from TYCPR01MB8440.jpnprd01.prod.outlook.com ([fe80::6c36:5ff9:24c9:e4f7]) by TYCPR01MB8440.jpnprd01.prod.outlook.com ([fe80::6c36:5ff9:24c9:e4f7%6]) with mapi id 15.20.6433.016; Thu, 25 May 2023 01:21:43 +0000 Message-ID: <874jo1gq8p.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: Jaroslav Kysela <perex@perex.cz>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com> Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 18/21] ASoC: soc-core.c: replace dpcm_playback/capture to playback/capture_only User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 In-Reply-To: <87ttw1gqgn.wl-kuninori.morimoto.gx@renesas.com> References: <87ttw1gqgn.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Date: Thu, 25 May 2023 01:21:43 +0000 X-ClientProxiedBy: TYCP286CA0243.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:456::17) To TYCPR01MB8440.jpnprd01.prod.outlook.com (2603:1096:400:15d::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB8440:EE_|TYWPR01MB9477:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d6d5201-c634-40f1-c67b-08db5cbe664f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xM0ZqBIMUFosp524smm8XF2Z6Xooyts/wuOsdc8M3EnHdZlgCnY4BVOQ4Uk5ieqpx6x+9DlPQF+H4U03A7Sb9JQd9EtE62Fchtm40jnyq9IilONpSLPd/YAbQlRGiXcadYVXw9z8bOlWqPfCCm2k/yUGa2F90XgoXrdtDkFHQKUuCyPpuYJwJTi8+jvwoR3mIv2RMZ8XfuNPr19QWudiMRTxmKfdy6qTLueYAvQanse2MBRxxAtqefTh3ODUcYxtmDugcIrX3AU4OnBqFnI3UYkE04IXKzo5w3z7w+ScpgWncxe7yvM2jBrfs+H02RxpMquiB9wLa77IOAB+pY04WgP7ra+FY2pGoTCjEhAeR/kHkIVlItqCKzNbCC7NClH4D9oAwz5yy7k5+0GljpjyjCKMwdmDOf17Kal+eV8RjiwhISMFVad/o6U++vII+aCz/nZTJVNsDqaTFWbTsJS+HCECWoa33ioQOB+5spZzCgrioBg5tnqSyev25o10l3t1Y2aDHxmBt1xVFfUWBFPGc/oD9jyq22vax7ZFTUEpNPXrSoh0qOz9N4Xt0KMlHt0oDrDPesbiD6ZC4XyuglShsmMVgFTgiKZ9ObjuDcXZD0RHGW7NSipsFDxnI6g4BQ+X X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB8440.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(396003)(366004)(346002)(39860400002)(136003)(451199021)(38100700002)(38350700002)(6486002)(2906002)(66946007)(66476007)(4326008)(8936002)(8676002)(41300700001)(66556008)(316002)(36756003)(5660300002)(478600001)(2616005)(52116002)(110136005)(186003)(6512007)(83380400001)(86362001)(26005)(6506007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-2?q?UKDx8m+HC6nJBrnZ96dgNvo?= =?iso-8859-2?q?ZJVxNxKUm/wcaOhGBX9Key4GXhoS74BzAQPN8hrDDCohOJD7jbPBjBziCCg9?= =?iso-8859-2?q?9/87LODRvIVhp/GLeT0thLJBnRs23WY0vzETwwXhE264cqrkEQXj0Rfs1s/j?= =?iso-8859-2?q?D393FKmcnJhS09HlHFEi62JLG/aR1A+GbVRsLfZB33i7gCKCXLPh6Br8xJNW?= =?iso-8859-2?q?pcJhz/tM0ADZgM6HdqA36EO3bRmWscBJabnZqs63mDZpMWDTLE0Z8L0xM5Mx?= =?iso-8859-2?q?9ygdjJmsbuhuRD8L30nqyxKtFE6Tmn/lMLDzSeb2tsou/lCkfQoljf3PDP5n?= =?iso-8859-2?q?tQK9wyY4z23kfETsULk+/BCgmURk2y7kwCAv/+g8TNcNS+SS9TtfgJMU2rM1?= =?iso-8859-2?q?zuCW6wSfTkWoRbpUpdB7QdakuUtuMNX8bfhEPzN3j2SqTVjvsWP090ocDdU9?= =?iso-8859-2?q?B6AMJzVSVQHWauqM9MFGjm5tOX34jm8rofo9V00nXNx8OfbwJcKC9fqUFwym?= =?iso-8859-2?q?f5gkMMVgjuZbwQAjtzoAysLskM/bh3UQiAfI48RK0P/zqDINz5njti5gAGNJ?= =?iso-8859-2?q?wk5MTvjZgtuEHgj5uwHRI5etO+jEmg91bQ7n7uBSGB05NXsLsRvwJPRq7BZs?= =?iso-8859-2?q?bUVMbss3nikwcPua63nb3XVr/o9sFSCbwyFs+wov0J0X5nszPOdHL1fLvFyv?= =?iso-8859-2?q?TvKTw5ceVqZzJgSfOa5f7hgQW7noEoj4KKJ7vRi7M3bn68tqm7RQpEruuc10?= =?iso-8859-2?q?8hj2igbn6Sgvs54Mccg/uNBaZdo8Q5hLkJom/Se3jlszH0vRYUB71BAXMnuN?= =?iso-8859-2?q?31/Tdl3TxKDN1vSKtWqnRnPDNr96OPkQ48dFazQt5mwgwT7zAjwt1/6Bgxzl?= =?iso-8859-2?q?tV357Cz/h83SYj1ONYoCnRTuJg+nw7rcUlKokqOiILEqyrNq0qS0ys02fgjJ?= =?iso-8859-2?q?sNNHryA8LR/mCD1vG8v5kPSyigamsTCd4dpMNHzXoKcdZHw8OD6Wj3Z+zUB2?= =?iso-8859-2?q?xDxQGNb8pLF4wcneKlg10CP4XfTVQUprmWzygIC2V3rCKiFg2w3CIuR1WDQg?= =?iso-8859-2?q?uzq9gZSRYBnsgNn1NCr0AZbkF9WpwdOaB6eEvFgT0NCpsw/OuxYyg18C96sK?= =?iso-8859-2?q?hO167ZSXswaWDRMIxCuKEEUgOxHCDhqhZE7JU/f90x0E1HuI1JTpVXgFOWSm?= =?iso-8859-2?q?nGNuun1DBmjvn9pORQ2FOFmdkw5iWplRD77QKrDImNZd0CGGU0Pg+1TpuqP0?= =?iso-8859-2?q?1vFVWC6a8Ot2gV5DzGnevpqUOvnqzPiBq/V9rWmNRb8+uaX+tqHzQG4zouk4?= =?iso-8859-2?q?plUsqaMfI4BjZRRxr+f0d1A6BulNInZD39UlBUaVZ6pBfbsL5JedrGgx+LxQ?= =?iso-8859-2?q?GgZO6QzXaeJy0tSya1cBQwGHbPA9VDiJxzbh3u8bEsA7m9Whd2WMBnDuH9Xa?= =?iso-8859-2?q?zPb91OmNl2F9YKhA0FYcT7pdVxy3PlR+Vhbn67MKQf2l4sBAoLVAr7yXqTAT?= =?iso-8859-2?q?NdLB5/ERDs6J9XZmND2NEuYjw/2lX8SdEv+CGBjPOMp4i6ZsZUq8GJGIa95A?= =?iso-8859-2?q?mmBcnuCqAJ1Y6lMkSK4U1JpByMbU+uhsgrSP1f0RCopm0V/CsfnE7N5W83U+?= =?iso-8859-2?q?FAFRk3gZYe3Rm5+RUK9u60hY6Ysue19wAev+vAciuV7MTEvHP0XBsMFoiZW0?= =?iso-8859-2?q?=3D?= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d6d5201-c634-40f1-c67b-08db5cbe664f X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB8440.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2023 01:21:43.8914 (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: 9g+Otc0KRZI/4CBO1n8VSnM69U2XrBqKfcSt1ptajiPTyFhik04sxwXwTmBO6OQ6ZBF9ZBEgQXJaaSy90D2DAx/zYITM1zP3Dw/noki/5jgXMXTF9IxGJZpCFpki6SzH X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9477 Message-ID-Hash: EQTQD7CMOAV3XHPZ7L2JAWYM6DMSJUJG X-Message-ID-Hash: EQTQD7CMOAV3XHPZ7L2JAWYM6DMSJUJG 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.8 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/EQTQD7CMOAV3XHPZ7L2JAWYM6DMSJUJG/> 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 |
ASoC: replace dpcm_playback/capture to playback/capture_only
|
expand
|
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index b48efc3a08d2..f57911e4e4d5 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1781,25 +1781,7 @@ static void soc_check_tplg_fes(struct snd_soc_card *card) dai_link->platforms->name = component->name; /* convert non BE into BE */ - if (!dai_link->no_pcm) { - dai_link->no_pcm = 1; - - if (dai_link->dpcm_playback) - dev_warn(card->dev, - "invalid configuration, dailink %s has flags no_pcm=0 and dpcm_playback=1\n", - dai_link->name); - if (dai_link->dpcm_capture) - dev_warn(card->dev, - "invalid configuration, dailink %s has flags no_pcm=0 and dpcm_capture=1\n", - dai_link->name); - - /* convert normal link into DPCM one */ - if (!(dai_link->dpcm_playback || - dai_link->dpcm_capture)) { - dai_link->dpcm_playback = !dai_link->capture_only; - dai_link->dpcm_capture = !dai_link->playback_only; - } - } + dai_link->no_pcm = 1; /* * override any BE fixups