Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2981576lqo; Tue, 14 May 2024 16:11:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0YruC4+3t9t3+fyJ3OiKAkK00qyzGnPICayn/dfb3KkxVDjcjDpCwwdSj//b//TyLkyCPZmUczZ8FMPSR4mRrB+Fmybpxn6H+XR3+Cw== X-Google-Smtp-Source: AGHT+IH4dzveuborK3u9dAO2W7RKoSCsdrNmL+pPCblpMbyRkmrFn9nySMEFQnsnQtev123mJbRu X-Received: by 2002:a05:622a:a19:b0:43d:e6fa:1ffc with SMTP id d75a77b69052e-43dfdd21b89mr203439111cf.54.1715728279006; Tue, 14 May 2024 16:11:19 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df566f609si126529261cf.367.2024.05.14.16.11.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 16:11:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179255-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=oOOapsaR; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-179255-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 671821C20D0C for ; Tue, 14 May 2024 23:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D91DF182C92; Tue, 14 May 2024 23:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="oOOapsaR" Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2073.outbound.protection.outlook.com [40.107.114.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 859531DDEE for ; Tue, 14 May 2024 23:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.73 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715728271; cv=fail; b=cYtpC0RdvxxtM/fPMuCFcCOWe8m/VO7Ov7fnNpI0e6bLAW4CTaehT5qnS1KeCbFmPaVMUl6nHtEO91E6WLi3/L7sGmO6bztDrAHB8GJnxz/KXJtjQlDl9SCXKk15CyhXEl99AJo0yWxxrAYAAFASTu3x6ZK8xqRCo66qeBjXK7U= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715728271; c=relaxed/simple; bh=YvFXsBuDMWObIQuKK0jgR7sicxvSJv30gy8fyzU19r4=; h=Message-ID:From:To:Cc:Subject:In-Reply-To:References:Content-Type: Date:MIME-Version; b=Qdl8Lv4NXxo0Q0Yia08A4GDk1Du9MmQnW+XiPXeNdl82bWpC4rDtrx37kguUFe7xavJ5cdEr+gVqHPpnfobyT5V3bj5ZCnYjp7NQggJxTA34kW95uSyquWdzK/Uh8fKJAdhXPUI1I0vB/TOVhaDU3sJqMOH6r9n+OiGarTsvV9A= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=oOOapsaR; arc=fail smtp.client-ip=40.107.114.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S7CQruq5610dPBN25IxE30zfaU9BBeNhtOhYhbG0da1skjSSGLev7ZCYFvHAMowgQ0PlNpEgmI5pgyaE7n7pIYQ2UMAltvYa4KK/XV0u4z8362T/8QuBZFQFJ3Rye8nFtZhlhMz0/5gWyCVQLDxYe3YFo7/snk+fct5nsiY2i3FsBcf+PAMahZ3CG2FsJxf90zEoLJpZ1gmKZAHwRiY2GGPRuKi+SB0IJzSt3kYpP7kk7bc0SJUSEgkeoSAvOVNidiuiA/7wpzW7jY+/G6w6uBGdO8pBSs/qOw1Wd0okgZ0zNi0+Sufyc4Sjs/xl+VNL/bSZDF3aBo+oBodA0O3K7g== 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=X2rhKTCvZy8XOEwxWVQYAXX4+dfQhNpDi2j8be0oGdY=; b=eh+Xm/eKBPAXoCFsOE5pKEhWDNWwwFssdly4r7XVyp+V6VS6mX7zwDVKV1GJtBctIM9GdE7Z1I6pTH+eoBU5Jcxf3bHmq/8r7T5rz+c9aRgkfhGliq6nfKORcNhXYnyw0n4jzr51aNo1h7EbfQ540pjzcQ/WLBY7BXGLzXP4xvrnC630sprc8DPhjanfgDPsQhxv8SGljzFh6eT36ngFHiz4JdAdmg9LxUIU0UvD0UmUhhrVPOBLmdgKDPhxUIIzzoUEcTfJ22TUyuYn/ul0d5g6js+jRfMzyNwxQCogQODTcO2LZFwIKgguWewoeNTF6Kma+r9IVYWSP49uHUV8AQ== 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=X2rhKTCvZy8XOEwxWVQYAXX4+dfQhNpDi2j8be0oGdY=; b=oOOapsaRFv37wIimu3knl4HfjNoDrkr1Qyg9rA8u/rmpOCjw2AflwrL6R5xnl9KknPy6zTSZJ3x5gorX+FhPpyubuAv5XB+JBB1DwLUqJcDwm0z8aDSa1ucJl/gOxMlx/tWM0pwR0WReYUnm3J54snv9gADx7qnPRZ2+DvpBJ/E= 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 TYYPR01MB7024.jpnprd01.prod.outlook.com (2603:1096:400:dc::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.26; Tue, 14 May 2024 23:11:05 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::2f40:537b:2694:7b76]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::2f40:537b:2694:7b76%7]) with mapi id 15.20.7587.025; Tue, 14 May 2024 23:11:03 +0000 Message-ID: <87seyk2dmh.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Mark Brown Cc: Jerome Brunet , Liam Girdwood , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH RFC] ASoC: amlogic: do not use dpcm_playback/capture flags In-Reply-To: <46daae9b-10dc-4f49-8a25-c387d03ae87a@sirena.org.uk> References: <87o79azh65.wl-kuninori.morimoto.gx@renesas.com> <20240514143116.3824376-1-jbrunet@baylibre.com> <46daae9b-10dc-4f49-8a25-c387d03ae87a@sirena.org.uk> User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Tue, 14 May 2024 23:11:03 +0000 X-ClientProxiedBy: TYBP286CA0032.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:10a::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYYPR01MB7024:EE_ X-MS-Office365-Filtering-Correlation-Id: 952dffdb-697e-463e-7b65-08dc746b2043 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015|52116005|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?mPPiogtXsPWynbzhBLzqe/fyCFTXuWluXTfJKtjKCqKY8KMMdGEkMS1MzeNa?= =?us-ascii?Q?cKbS9D+XIxe7APhJSZKj3pxpjmSaxiDp7mIxUlYUs7fDbbvbKm0LqRuvGDvM?= =?us-ascii?Q?NtgLOWqDagDKKYLkoW184SzsKAwf9deskLhOvIMlqXunfZW5HquofvM6KlOv?= =?us-ascii?Q?bo5MxLlUZA+UXu1z7AEuE0fHD0lTpoqNiRXH7rjvuA6FY6m+LwUUa7FbH9aw?= =?us-ascii?Q?pBrbultw82ZPWZ1CyaHkemoW2LhXT7kmBgiBvYe/6TAgYdAMnSPMdai/yazJ?= =?us-ascii?Q?ws5Hym7e26MwSKtCd2uf77F84MoRR4tXY/cknB6RagUEj4ExZgM1eyPUpmry?= =?us-ascii?Q?bNkRtPxbG0IEWP+BgP2qZ9xzFG3jrT6IvMncCQgoqmVDVFk4cNk6sHtMIWWl?= =?us-ascii?Q?3bXW+VKnL696DdQMvCYabDR5ThOzdx0mAcS+8JHbzx5dz+orgEGAs0TfAyx5?= =?us-ascii?Q?gLt9dQAlp4gdb0bu5a0n4joAOQtUteokwiHoTRqejo2VnmVu6u4p/EbIVXKF?= =?us-ascii?Q?hWAX2xTpRmun0Ib5pY2HbLoRfXYa2sDdECUr4jtOeu83eYpYiKchO9mKQdYz?= =?us-ascii?Q?j08liyVcyxxtI1svtW8e7znTW8Vf3sbfyxKXrkdjbYxdiXjm7CMN+cBqzT//?= =?us-ascii?Q?SaGmAvOaEA+mQ0CvsWbr46qXbva42dycaJnIAu+ZklDL3DRLazrMiWioHeDn?= =?us-ascii?Q?deEhi2lMrzi4sugm+uB1SFDzqa1gZSP9vdjBWuXlTwMhwiaeubMAJjXvjnBz?= =?us-ascii?Q?ePsAou2MvJLyGv012+NIc8E6Z6Ql5Np/KeTGc339zBukUzlVcFbESu9WnB50?= =?us-ascii?Q?CFs9zR85NaRwCQSDQp2DZxddUVYKed6e8TciIVqOyyztCnJCDpKVRLlCxiNO?= =?us-ascii?Q?6gpgdSGiNymiYsqDAd5B7R5tiwGt1Woimn8voiQ4nkLQJ4E3p51NqhqySVyL?= =?us-ascii?Q?fMN/oKt346mUPouseG1+ZaNOP9o6rfWilgSudeTc8nqgTeFWD6GDncLd+dXX?= =?us-ascii?Q?J8fYXHNyY507j+FOZ1XEN7tXK0roBXTFv0cBTdWaqFo9HyDor9AkedlLQaTb?= =?us-ascii?Q?ti5jAfJ/2D58MvjawGtYupq/+w00A3oZW6k+OV2B22E3KfjLaFQyVAJHLL5S?= =?us-ascii?Q?G9q37dDE9xNgBRfLi56CQzDh1IWXhlhWdqKuCF6/ve64nqr+DOygl5TKDkQT?= =?us-ascii?Q?Na6+g2U3RFcEPyZPREmA0iYkpY4XttFYAr2D33DFe9D01Tpl04+2jQRF7fxn?= =?us-ascii?Q?ZxQGZFjT4gc/XbnXc4EAQE+IZHt3fkcHJYA+6VD98EfPmmdqFHk7jKxumUsY?= =?us-ascii?Q?+MZBRzdU0qISS/F5OVjFSMuj6ZwxjhpK4sziNQsTGzpq6g=3D=3D?= 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:(13230031)(366007)(376005)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eAkVOj3jLv8VZfNn7i4vSYxU0OIZSJ8mg08aMHBNkEe8LxsyNuHwqsvRcdko?= =?us-ascii?Q?xApnNGyunsqsBujezydXF5ppAD4J7PQdFBvYzeRNX+kOxH80yBPPb93OIFTH?= =?us-ascii?Q?XV0JUHPTKcEk/tBWXRbUG+fBJBO3kfBvnimo87nxqBokaCe4K1SxxGwlOLvl?= =?us-ascii?Q?xyJHvkTuIxwMAPNjhQAWaH/x8r4GsIscVHW0xZMV5W/LcmvuEdlKeG/Mmtu5?= =?us-ascii?Q?o2TNrQ95/q54FHMhmU7M+ToR/pqaX/DYLGDnD81yuTnS0RCblrBv8OiiakhC?= =?us-ascii?Q?NjtvHpOppU3r/oi4tcZasXNYBB2CKsW1kFNX6ohLsG3ACuWk9uvB27+/IZBR?= =?us-ascii?Q?WO0eC2Oqu5e81UH2rAT8yi5Vgxm1sYXFxiksB37kp3MSIUr6zGwF7Zqbcr8x?= =?us-ascii?Q?78TvfeDqBBwyrxX/yArdxDFplZOBEBZlOpUU21dhMtflRKg9N0vJ6k2JtX8E?= =?us-ascii?Q?xwpBWY4/UanVVxhlhOeOCRU6rMm3jsfpdnNrnEKB26du+sAoNY7cYgtJ05+y?= =?us-ascii?Q?cy8zJvd3QLP5c2wsuAuLDRn+W2Hjc0Ev/REQnzV+LYVqCBbRqo0brxu/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cjyDJwrnAYcs+UzfHobnERazmS6TutZaSPg7Iz92R57E?= =?us-ascii?Q?rv0/kh23K8tJWiA4YpMMDi6WqRxi/0mrDNgtGp/ioawvzr7czalFIGEpY0x6?= =?us-ascii?Q?VsKG7kmu9j4cTl6NPufUn9sP3lm9VFe7yQDF0yU0XPAPemZUDdvf49QMlZvm?= =?us-ascii?Q?GFuxj17iPYTaGfNTp2Qb6Ec=3D?= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 952dffdb-697e-463e-7b65-08dc746b2043 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2024 23:11:03.3040 (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: Guv4CSvwZgKIO6sRHDEs+hL1CyH0OR3P4OzzCitwUaN9K+vsBZidVTV/rBKA62yQdfwuN63hTxSccp+YR0c5urZlF2UgAx2ba3rAsbT9C17BgK1ZaHSnssy+nA0PZ3sR X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYPR01MB7024 Hi > > dpcm_playback/capture flags are being deprecated in ASoC. > > Use playback/capture_only flags instead > > > > Suggested-by: Kuninori Morimoto > > Signed-off-by: Jerome Brunet > > --- > > > > Following Kuninori's series, dpcm_playback/capture will be ignored. > > However, properly disabling stream direction is important for Amlogic > > audio drivers. > > > > I'm not too sure how this should be applied to avoid breaking bisect, > > before or after Kuninori's series. Maybe it should be merged into it ? > > Probably better to integrate it I think? ASoC needs dpcm_xxx flag *before* my patch. Your patch is replacing it to xxx_only flag, so it should be applied *after* my patch. So integrate/merge is good idea, I think. Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto