Message ID | 87a8gn39l6.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 69D62607D6 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:23:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A3CC26220 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:23:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F1C827DCE; Mon, 8 Aug 2016 09:23:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B121D26220 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:23:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752044AbcHHJXa (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Mon, 8 Aug 2016 05:23:30 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:46143 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751985AbcHHJX3 (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Mon, 8 Aug 2016 05:23:29 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 08 Aug 2016 18:23:27 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id DE30451570; Mon, 8 Aug 2016 18:23:27 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id D38D61806F; Mon, 8 Aug 2016 18:23:27 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id C44141800A; Mon, 8 Aug 2016 18:23:27 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id UAL25910; Mon, 8 Aug 2016 18:23:27 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="216937767" Received: from mail-hk2apc01lp0212.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.212]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 08 Aug 2016 18:23:27 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GOBr5VZeWiA48s2aMO1cvNhq+F+ZDXnK8AmTzxV8eQU=; b=EIkrELIgaZfJ/5B9Jp8Aqju5Ja1O6kuvrPndX7ImZIK9IGjweV9x/wzJRJx3MaR67RsXdUWb8iAOnokzRynrBRQIzVLxvUsAAmpjLDdBRaCpiB3o0sqdy3Ak8c2pVo9mD+zPt05hFu7kUhMj4l+bEOTv5x52GPIXVsTZTENs2GU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR0601MB1442.apcprd06.prod.outlook.com (10.165.182.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Mon, 8 Aug 2016 09:23:24 +0000 Message-ID: <87a8gn39l6.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 116/159] ASoC: codec duplicated callback function goes to component on rt5670 User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> CC: Linux-ALSA <alsa-devel@alsa-project.org>, Liam Girdwood <lgirdwood@gmail.com>, Simon <horms@verge.net.au>, <linux-renesas-soc@vger.kernel.org> In-Reply-To: <87wpjr8xld.wl%kuninori.morimoto.gx@renesas.com> References: <87wpjr8xld.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Mon, 8 Aug 2016 09:23:24 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0072.jpnprd01.prod.outlook.com (10.165.51.160) To HK2PR0601MB1442.apcprd06.prod.outlook.com (10.165.182.148) X-MS-Office365-Filtering-Correlation-Id: c2969ffb-65e5-46be-ad0e-08d3bf6da609 X-Microsoft-Exchange-Diagnostics: 1; HK2PR0601MB1442; 2:Uk2kPGEx02p8ZkLZ4T3Oncbcsjr/bz+NmF752BcCCNVC/P6pLO67JIDO0XQgMlZAmk6CfnjeUcj4Ks2IoKl3+4Ri2v6ZKU/P/0iDJAQGXVilrRP3NfeJHZe5qv/BD98DjgdKsOEMA0TXuEmsB+HSR1VzNyFK+d3ZhmNCg07N6pIIhGHx5ilb7zhSONOqF9H1; 3:6CzduR/fyN/x0ELrECaFRjGRRjnFqgLKVcz355QjbOn7PFP0hETMD+8EJplfvR7hJzYbnTm0QTxC9wi07VWDH0jtNnykGyqs6dQRmcNs5eZ/9H+rAVLaZcFRRKQf2596; 25:0y2dlyyIwYRTEIQq5nw8QzQ8EhWLOM55diOshHfthLm1MG1fQu+uR7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hA5+2ZPwTC5acEQUIpmjXb4kh+jl65UWlIxF3vctUWMmgbBi4/D1bR+iULGcdzMwR1ea3PwakNC+9SNol+t4JyGHCGQFKOOV4oM9J7aNKj02ldmcrE1GHhbFziebDGGRS5BUqRUcnycS8qa X-Microsoft-Antispam-PRVS: <HK2PR0601MB1442256BD6D2B253B0ADEB9FD41B0@HK2PR0601MB1442.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:HK2PR0601MB1442; BCL:0; PCL:0; RULEID:; SRVR:HK2PR0601MB1442; X-Microsoft-Exchange-Diagnostics: 1; HK2PR0601MB1442; 4:kXDRN8rTNqAJHOFNhH6edApwcczx/P47QdBDXykoVceaxLxRlt8FWhaoc9zdSTrley+RlCTceCn2kIShRbezdFOgdpFFIYFjUvB7ojM1owDaktHqtlutwAc558L1Z1ImvXHYHRnkzTJ3Mn+2wEaSxs6w10Eu2xyiU7/nPpskwNc37g2uFNF67Jqqpdv8tYDKKjR/GEDpisFqlxmrZM5pn6q96jwI9gnIDNjuM1o2HSgOw5kMJ+0m2y/xQcwPhxa1ft8UWNpS3SFHxcToTOqONlNsIHb+1t6jnYQ17p7lMRcaCyb3Q72rOkeKUpRJ4QPTliqAZgIKpYT/HFd6RVeqP8IKISqDKWsA8/bZXOsv2K3o7xPy15lshM7NQkuFBRv1N/Zezx2eCp6dFnZSCXOAUQ== X-Forefront-PRVS: 00286C0CA6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(66066001)(8676002)(33646002)(189998001)(106356001)(6116002)(101416001)(105586002)(2950100001)(81156014)(68736007)(81166006)(23726003)(36756003)(586003)(3846002)(50466002)(47776003)(229853001)(110136002)(97736004)(54356999)(19580395003)(7736002)(46406003)(4001350100001)(76176999)(7846002)(69596002)(2906002)(83506001)(305945005)(86362001)(92566002)(77096005)(50986999)(42186005)(19580405001)(53416004)(4326007)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR0601MB1442; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR0601MB1442; 23:haZR2tlJWpZ2OdHQ9n47Lgi+mR9IotbD5FpMph/?= =?us-ascii?Q?93rl58A8BZ2gq4Kia5aM8hkgP15wD+SFl1P6/3xpflwqHN7jRSzqTUQ7Glyk?= =?us-ascii?Q?ivkHvfN+hlgoOVMLSB94YaQqnuJjsKpobRvopCiwDUEEzptvneGDp5XwxcXi?= =?us-ascii?Q?6SHcfTaGZlNZoRjjL9LLphXNd81QEQnGzAPmb3YS5rdO+Z8JWn5fdYGNyNp9?= =?us-ascii?Q?4oETgyObNIsUvcA8HsVyQR+NbQ/Mx6d6HMCHwqaRjhOYqWZaEk02DO6nvRvv?= =?us-ascii?Q?mzNYCJjVWN4pQCf1EAVrrlx0NSPVOJCXSCfpfFYjwSRWL8JYXp6FUaRKv1lj?= =?us-ascii?Q?X0CE5M1nXz1ctH5H5otx8OpF3yrUjiD2lMGFtv0jLPzOpUjizTZI13h+8AMW?= =?us-ascii?Q?ueIkBhWPi40Z1bL/j7BTBaKtxwLW3r3n1wLMiq9TDGqvap4XeDCm+uzEP7ge?= =?us-ascii?Q?jj5X59gNEitih2jCd6acoEObCjDG2oojGKUOskqNmrd1d9lQHwQJqI21j7SZ?= =?us-ascii?Q?CPpcIv1cmU9LfKF6HQI5MyV9nImkEYEacBzFbfhHdzz5mBNVAv/JHCNIeXkp?= =?us-ascii?Q?6qmL9RTRDbeVME7dPI2Ik46rjRngvNqRjV5qnTKB+YbkasldwiU2edBGZHD3?= =?us-ascii?Q?Oy7Dz/IMuphl7AMxUf0NQSDWbqBoTDsg0JfkV3lCn+9Fn6eKDXhrNXuv3tR6?= =?us-ascii?Q?3N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mSuRX0sS+kAIb3HG+CQ2YFZ2YU4tNED23XmR9pBw==; 24:YfXB/7E3v37+ocAApF1MTYQLRh2ayuGCczr8JKK9hUSnpGWD6KUI8aF2a2E2m7RgbpUDzLJuRJITsOdUyWInZOQWVfdK3/6xbXpDLVG7F9c=; 7:m54wiHbJlgjYKi5ZGgnyfklCKGct9Jj7UOhHmyAs4jZsekdfcDuMfaXJygFj5OZg3KXMBvemf4a4u6K0z2biF45skLCUMN15NGuyzRS7jeQnAUZe8C9n3lkqR7M0JJinY3YMOL5tZ+dA1lN7dz8I9rUoOWGqzJrvVtsaBvwTpJKbil4s/Co9JwQv6SP1Cvdwv4Q3B7f77GxDcIL2vG8t9JIpgLlTPsNDPJ0fnvtuLcjEjp7DsQdUJtPUZuogccuT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HK2PR0601MB1442; 20:lgrLMB6kGfKsBzEbclJdxPjFu6fGLGEfx//W1Gx/qOhL5Sl7cYdSAbBFwviIE06PrR486H55owkg4MTdMu5pi8BuxoDOsk6eYIuzsmP7QrYnV84t+Rh71qRD965Ip4MY9Z4ekwdfvMlh/sjM4NqQee5k5Zne2F3MBzirOWEmuug= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2016 09:23:24.2130 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR0601MB1442 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 8ef467f..49caf13 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2777,12 +2777,14 @@ static struct snd_soc_codec_driver soc_codec_dev_rt5670 = { .resume = rt5670_resume, .set_bias_level = rt5670_set_bias_level, .idle_bias_off = true, - .controls = rt5670_snd_controls, - .num_controls = ARRAY_SIZE(rt5670_snd_controls), - .dapm_widgets = rt5670_dapm_widgets, - .num_dapm_widgets = ARRAY_SIZE(rt5670_dapm_widgets), - .dapm_routes = rt5670_dapm_routes, - .num_dapm_routes = ARRAY_SIZE(rt5670_dapm_routes), + .component_driver = { + .controls = rt5670_snd_controls, + .num_controls = ARRAY_SIZE(rt5670_snd_controls), + .dapm_widgets = rt5670_dapm_widgets, + .num_dapm_widgets = ARRAY_SIZE(rt5670_dapm_widgets), + .dapm_routes = rt5670_dapm_routes, + .num_dapm_routes = ARRAY_SIZE(rt5670_dapm_routes), + }, }; static const struct regmap_config rt5670_regmap = {