Message ID | 87r39z39r8.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 142DE60754 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0488C24DA1 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED48225EF7; Mon, 8 Aug 2016 09:19:54 +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 7FE9C24DA1 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 8 Aug 2016 09:19:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751979AbcHHJTy (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Mon, 8 Aug 2016 05:19:54 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:54314 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751280AbcHHJTx (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Mon, 8 Aug 2016 05:19:53 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 08 Aug 2016 18:19:51 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id C6BDB52297; Mon, 8 Aug 2016 18:19:51 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id C18181806F; Mon, 8 Aug 2016 18:19:51 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id B96871800A; Mon, 8 Aug 2016 18:19:51 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id UAC24119; Mon, 8 Aug 2016 18:19:51 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="217447366" Received: from mail-sg2apc01lp0245.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.245]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 08 Aug 2016 18:19:51 +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=i1G2jKCzFofK2g3yeSV8YZKKMHPpjkJUfGf+oCnn9So=; b=FlVwTB+I4eYX0Wp7JMG2mwVLI3WdDZD+c5B84HH9AVfC3Sbj1VWZssiTQLIJIlQOD+5YANtzi0kYLs2IhLwCHDQ4qvVZS1oaez8PHeSgN3h89SlEJ2n9zJZ2j/jVWm8gJD5tfTDWhD2i4f+5c0lkDYfNb36+9t9npvkUxSupCVg= 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 SG2PR0601MB1454.apcprd06.prod.outlook.com (10.169.106.20) 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:19:48 +0000 Message-ID: <87r39z39r8.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 104/159] ASoC: codec duplicated callback function goes to component on max98926 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:19:48 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OSXPR01CA0027.jpnprd01.prod.outlook.com (10.167.143.164) To SG2PR0601MB1454.apcprd06.prod.outlook.com (10.169.106.20) X-MS-Office365-Filtering-Correlation-Id: 4dc0ba82-8493-49d9-6ffa-08d3bf6d2575 X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1454; 2:iiW4M3VHyvu3QyOcpiQg0DB7jA3kpc/FQWEiEIQfHjS/tk08J+z66unFow6W5k13b1zQ7th+75X1rt23nl/2Vm2q6t6tVcGSFbVPU+IYugTn5I2ay5PIvVSKlEreUqwR+ex2B5WrvH7l9h4C81vDWnj5FQQ1dTtGHJABsWGc4Lvv4DhmZ176lhqlIQaRfokx; 3:3KGbzST+x3OIrvgGNGJr+W/KCQ6gUc4qFgFjehbbR8pzFLpy6axDSelAWBj9TusscCSanN9xhxR+BgK/FlWJkNhJIaRD/eVA9TJLzwcpvKVF2TPNhuj3vOr8xJFb7vuw; 25:bdfCdi00VHvaziiwH+PgQne2G/5DNqmxUrul8+q9TyCvkEv7t5XEx/Qnmi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jRek1iLeEVfa7TyR0uikzGWhOkiSsv7CS/zKwI/H3t+7OaPmHMwioA1IgDLmNaUWBKJwooIUC1mNxxBSiP00gMR1fQupU7RjZfNYh2xcz07F8DhcirYXXLGmvy6VR7doonut/owuKg1Ya6iubL7XR X-Microsoft-Antispam-PRVS: <SG2PR0601MB145496E960E43AAEE221A160D41B0@SG2PR0601MB1454.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:SG2PR0601MB1454; BCL:0; PCL:0; RULEID:; SRVR:SG2PR0601MB1454; X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1454; 4:If45NppnGCxKnO/w0Inva/YfliRet9TnF16caPwHHUG4CJYpiCRxxIGn8mgrEKQfMy/wHvHcdmYZM+FhuTrLArQOv+JUgTWEV0i7dyYnuyULCH5WXzoDGJ44dVfdyNdyeiYYdxFWYot0fRWR+FGAgovwCrIJ9qlTSfQVMTwt+Uv4d6CEeHrGMLH3vzE9EhbKO65UF+aI7NcBiVX0ANVGqoN3gK3hRIHTirSn8XsaYR8TvJd7s8QAqaodOW1KcRse5RQ9bVXMsWSo9hpaGfqXLzRlHvK202glv6wNPNm0h6x+73OlAjf7rxVtuXsUgKTiA86S++Ms6I3r82zLPlYF8frx5YNQUBB1E3kr1H9hChazOc2t8qAwhgZLjJ/ZTIDNh58ub+QKDyy++2jqGpVlFg== X-Forefront-PRVS: 00286C0CA6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(54356999)(33646002)(46406003)(50986999)(76176999)(6116002)(3846002)(53416004)(105586002)(23726003)(4001350100001)(110136002)(36756003)(101416001)(189998001)(2906002)(42186005)(97736004)(8676002)(4326007)(19580405001)(69596002)(86362001)(106356001)(92566002)(305945005)(7736002)(7846002)(50466002)(68736007)(586003)(83506001)(77096005)(81166006)(81156014)(2950100001)(229853001)(66066001)(47776003)(19580395003)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR0601MB1454; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR0601MB1454; 23:V2fTeaQMUW3ev+nvE/SubHR1FN4g0F7fnMMKYr4?= =?us-ascii?Q?Z0qXro2U9qedSduwyheDYcQdrBEb7CYSwoDlAwWSVxQbK8sAR3N3rLSvScm9?= =?us-ascii?Q?ndw4c26Hxd5R+hDUeNYWB3Q2ydWUzlMT+m8nZ8+rs3EqyfYCWKJe61FyR0nF?= =?us-ascii?Q?FbWRVSa2EnChlcMNh+jcCsfK2V7ucUEWFtw2bX4KjzF2R9LaOKSzy2xpKnv8?= =?us-ascii?Q?lmxaT2XQ07FjFdrY+DF1dCoGGJn87McINioN62msyDzbcQLTjTzaYLAjbMV1?= =?us-ascii?Q?wp6I+dELIBdH/ku6tyFq/utH+9ypylZobLiwlyL5/FjojDfReCXitClCkP5n?= =?us-ascii?Q?YJNfSFsAABnHx6v1ws25LbKAomAhuAfwXfzblMTwgmers7NHfSnodV1ZXah2?= =?us-ascii?Q?tHdY0ocSL2SAyBJGukVZl5uPssDapzjDg+TJgc/g955FvSo6hzqJCQDDgpo1?= =?us-ascii?Q?iGFAZhs5xnd5uy7PVPw0iJvn6R03jyweebS6HpfZOECnAvYfALAQ2rbEwomi?= =?us-ascii?Q?eCelq5W46bYhJxiiB+mdPR7GGtQelzKAXTefnULbU9Jma1FQWs9S7buA8gE2?= =?us-ascii?Q?i5vy04sIXWajYfzSTOGCKJBRywkS9Eh4Q3x5il2aPurShiSlao1T5M2hdphq?= =?us-ascii?Q?kJVKxiwNWq3mqTBs3UclnVQV8eYmZV63kPXEWIdqVsVd2yGGf5Ptj4OZoSnh?= =?us-ascii?Q?JTo/AZ9ffMJQl7OTlKwjyBqPwuvul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4qkjJof+wVkLiuoBl1+LO7hoTBnw==; 24:drLoKxDpcNGlNVZEGUYMCZWFuz+9vLBzJXAqz6saDUvvJECPZIhNIVE4GZMJIiUINp2nh7qmAoJ3Ug/uMRBqgGcjtz6VvQHH7yGifaVYU90=; 7:AFuAlI8aL1foDAFo0bMqo/GY9iQuW7Jk3RyGUu2vqk9sxiVRNERWi2/GArTtZ8GfEmyQEsMHN34IcgWQy4pjy13wfS+8S/eTx3SRouM5ma6GUJ+9NrbEDZKyk7+7f/qJXEcvYTk19Zd1syBuALrg3eT5MhhYCYz+TOgmztXe8OeIVJfS3JvcAFOo6vfBwMHt/HxPWOY5hVQ2BXnCenxcEXvWnYoP3J6TX1vj4pTDRZDSFE8eubRz5HtiP/T5vjqH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1454; 20:6NnKjdSSxeGVnED6h7pdDj0hrBBvDC7bFfPQqlVeYHhez0obWIvPGdiZKUCt/klkpPuazuOR9dwNo7csnhFTWuS911DZ3FWJbahIDhvMfEDCaZBxdaUq7ajQCjlhZr3HiqFgrguL+Kpa0WC30aJ5sWbeZpiImsV51NksJ7RDN7U= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2016 09:19:48.3740 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR0601MB1454 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/max98926.c b/sound/soc/codecs/max98926.c index 8d14ada..5830a81 100644 --- a/sound/soc/codecs/max98926.c +++ b/sound/soc/codecs/max98926.c @@ -498,12 +498,14 @@ static int max98926_probe(struct snd_soc_codec *codec) static struct snd_soc_codec_driver soc_codec_dev_max98926 = { .probe = max98926_probe, - .controls = max98926_snd_controls, - .num_controls = ARRAY_SIZE(max98926_snd_controls), - .dapm_routes = max98926_audio_map, - .num_dapm_routes = ARRAY_SIZE(max98926_audio_map), - .dapm_widgets = max98926_dapm_widgets, - .num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets), + .component_driver = { + .controls = max98926_snd_controls, + .num_controls = ARRAY_SIZE(max98926_snd_controls), + .dapm_routes = max98926_audio_map, + .num_dapm_routes = ARRAY_SIZE(max98926_audio_map), + .dapm_widgets = max98926_dapm_widgets, + .num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets), + }, }; static const struct regmap_config max98926_regmap = {