Message ID | 87wn53ea4i.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | c4d78c4127f9371dcfc77e71417addddcc5a9533 |
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 11048C61DA4 for <alsa-devel@archiver.kernel.org>; Tue, 31 Jan 2023 02:03:03 +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 DB058E82; Tue, 31 Jan 2023 03:02:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DB058E82 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1675130580; bh=uLwrBroZGudU/DKs+m6vh/yUYrxbeEoAeBSkDh039lA=; h=From:Subject:To:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=TUdrIvKHs3JVSTu/GX7iOEGc6XHEbSbQ2Aa1iQRJVKWYNoCK7qe6Q+KfrsOoxzKV0 cRx67MW85i0cEiaKhcRCZBbkcGunzp1RQIHmRzkxnRwb35OKuzgrb2Fy1nzGXXTvfZ nLW592ff4dUm90yuMJwh/a943/JmXGkahkdHxY0U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CF3ECF80571; Tue, 31 Jan 2023 03:00:39 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D2C15F805A0; Tue, 31 Jan 2023 03:00:38 +0100 (CET) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on20720.outbound.protection.outlook.com [IPv6:2a01:111:f400:feab::720]) (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 CD14AF8047D for <alsa-devel@alsa-project.org>; Tue, 31 Jan 2023 03:00:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CD14AF8047D 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=YvIHvtsX ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eA6k9RgcHIpmPSDXuMjGPeGiQzfIeNh1L3PMzYiDuV1n5O2LRpBodL1m2hPcYJ5r5xnlTUPhs9ZXQphLRFL2Q1VEXOeOLUOebOKs6vtdWc2VbVFAcnrJN/PD1mI5mwnDyGBY7EezLnn8qDCmP+gkh0th0+Und0HcaAsgC8XybI4SJPeJ+GS6k2K5Ji9G1IXzvJAKyLf5kf9cNiSGM34Tc+wzN6hlrq+kb1UYDhNeJysmlciyLH5qre2iCe5RC0pI03ElGHHDjJlbN4GrWsjoRNyI813/IKWyrjIv9NmYNAKuy0THlhb665QkdtJUUOIGzuUvdX2mFV1QV/zMn1HU5A== 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=Y02LuwpzK+tWz3XOhLsWzhp30164SfSO7lnXaEf0RWE=; b=AaOC2OYbNl9pCNGG6mgQk6EKgooEsBbcg0csq9Ou06oQb67C6GbgvyNkE/geZWVh2QbwwPPyk6OPL3cO470UK9ltqxqQrz9bb2WEa748+5B6Stb8DLo0vbXia1mJ+b0l3cNkoE+kI1tR3ezyvHMpfDLKQKOITJAxbivtbOw/UWStc+xWGWoru85mhOTeiAVrL4nfJ7S24/FejAlqCMP84GFaOVjKVVq3TPD+hQFrUCRwkID3vIO9+nBK8KtJJLiGYcfUQ6MCOb/AeNFE5CN1zHyfd4i47nWX44QXP+wPlAf6D02PRJO5VSiKQD5DV0rRU4+KSxgmhO2ArwF28XKf5A== 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=Y02LuwpzK+tWz3XOhLsWzhp30164SfSO7lnXaEf0RWE=; b=YvIHvtsX4U2o0mG3JSbPhrkAmndcnUy+FqqRJ/GrzlQE39G61uj82uKE0CPZbAZ/33Unqj8EWpfHe+Vixjl+OF5akAXyemULFYu24KjMZhiun9LLPeMLJVXyIoKCCtVx4litIr/KkmCb2iZAQFNQRDabAzGccwB3t900mhsxlVE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by OS3PR01MB8196.jpnprd01.prod.outlook.com (2603:1096:604:176::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Tue, 31 Jan 2023 02:00:30 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::4b75:8d8e:d89a:7860%8]) with mapi id 15.20.6043.036; Tue, 31 Jan 2023 02:00:30 +0000 Message-ID: <87wn53ea4i.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 11/25] ASoC: spear: use helper function User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> In-Reply-To: <87cz6vfosc.wl-kuninori.morimoto.gx@renesas.com> References: <87cz6vfosc.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 31 Jan 2023 02:00:29 +0000 X-ClientProxiedBy: TYCPR01CA0038.jpnprd01.prod.outlook.com (2603:1096:405:1::26) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB8196:EE_ X-MS-Office365-Filtering-Correlation-Id: 998ed442-5fff-404b-7ee2-08db032eee12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DZzs3f9rTljzrhfoxDByVshMGmlcPp3TC9XfId/uo59i9axCpgRQfAj3wHU9KzpLZdwefTN3wFxcG1Vu3NTSobiO6kNgOFj0s3BWZIn1yDO1b/7JbW1709VNLjodoXZmoOGDa/qDOBPReOYJz+5K7qJhtJdHyab9jclDuyjzEbST1m6xyqpF2hm+Y0GHBOkvIEyfpYy76R25rJEsR7kiOwec55jdZeyRcHlOot974KyLzXd80kYgTPXkF74tDx5S2pNW/1UMwDzOPEf91BJuU1LCc8xYKO9kZVKItq7UgnCW3FZAQhK8Qis8XhwnYVpUJvfNz5PhrAcd019phWtih76O6b9S3yFdqG1iI0XdhcRTMXN3C2m2/HJsu/HHdGcGv9eN3OM+vHAmHp39Jp0h1W9ntkwe0zMNWoOF5m9oAdgJ5Gl4+IwmMc9+C/T6+oS3g8P4uf1KcDucAmtMgwkLfVkePgVISAUfZzhlDV/+FppjVz8bA4Bk9loh49wmtsz3RTbF7l2QmJxhcKIy/P+9KgXKGo8EvmVQrV/pU+JGsFkU9Ich9ZtIY7am490Sg8tabRhB/P0Yv+WU+vzBWHn1NjAeBLAvxTtnTObpAo1nBVq84X2yt+cyDC5HBqlUWGY7JR5XHuQT7SXfDhLXBV/PxAt+JnrRA7S6B75a2T3qH0mtoA2n0Mqq8eUVetsa5fJ+SlH4DcFLpZjUyNOzpbW+7Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OS3PR01MB8426.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(136003)(366004)(39860400002)(376002)(396003)(451199018)(8936002)(2906002)(6916009)(38100700002)(4326008)(38350700002)(36756003)(478600001)(5660300002)(4744005)(186003)(6486002)(6506007)(52116002)(26005)(6512007)(2616005)(86362001)(41300700001)(83380400001)(66556008)(8676002)(66946007)(66476007)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5qT6qmy9qXUgL/j6cRAx9zeI2cXGXYJM0xe13XesplouWNVqEy6nFZ267wE0L6VxMDmwAa3R7Us6pyh2L/2Fj5RP1K7NtRoawr8FEiVK+83nhe/TN1F4m6jLfQEFTfwTPoC/KClp5YsSIFYvdBVN8DV5VFYRvn5kpUFRZpYqQy1uvp8WC2RjON3o1R0iGNlcK7fhg/qAuI75tjoQSxxMATni/ghofp2/ukpsgEPcHoA52FgtBLdh/yxCWjMUdAphNQ154UpZRFbYF2sXJIqArmkOHhLKlYMHfiW3vjZw0N2heiMB8q8erqMY0+sIcmdFTk/6re/SqgR9DfGsJhpUHJ9px85DzqKkF1d8SOMQJhsZiqabz32JVgfcKCZUUTJnOUq3fhqQX5YuCsP8tS+Jr0Ax0U7VDb2v9oVG4Waoz3MTo6KN1syjbwRuDF9HfGINmzde2EnuhBl7tqkvZCtqstxZqTgHsT/C27WnN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xfhhtwQszj6+rzdxUgtMu3nbjYAcmpQf23ZBuhHGA2l3LclDLDw3MQNGhN1r7Os8RSPYyD2I= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 998ed442-5fff-404b-7ee2-08db032eee12 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2023 02:00:30.1542 (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: dCDRzpqcFaC7Mw42wVnYeoQ5AaMVb656j3wEGRw559UeOgkdJ7dA5aTz6y0lFCJaEa9e3XxJekfZHm5VGx2UcIJKvFkb9YngtR3ZsP6hEGCCwcXsJz5jOei0uMmO7dU3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB8196 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Cc: Linux-ALSA <alsa-devel@alsa-project.org> Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
ASoC: use helper function and cleanup
|
expand
|
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c index fb107c5790ad..469373d1bb41 100644 --- a/sound/soc/spear/spdif_out.c +++ b/sound/soc/spear/spdif_out.c @@ -244,7 +244,8 @@ static int spdif_soc_dai_probe(struct snd_soc_dai *dai) struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); host->dma_params_tx.filter_data = &host->dma_params; - dai->playback_dma_data = &host->dma_params_tx; + + snd_soc_dai_dma_data_set_playback(dai, &host->dma_params_tx); return snd_soc_add_dai_controls(dai, spdif_out_controls, ARRAY_SIZE(spdif_out_controls));