Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp3647020ooa; Mon, 13 Aug 2018 15:38:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPybO3q6MPB5C9ovmF14t/AUxbtfl4bS8rPEXB6eOI6xbKNSkAwZNYx3xjVpZnyig9pkihBp X-Received: by 2002:a62:6602:: with SMTP id a2-v6mr20800269pfc.159.1534199932174; Mon, 13 Aug 2018 15:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534199932; cv=none; d=google.com; s=arc-20160816; b=ptHhUpFlkWJ6ngNcv0guoRnzm9vANQ/Ifth9b2ttEUiwKiXPnABRYgJPbz/3NcBi4w sM/alKlTJ9/6k6vcr8eJgmRJWr7NtYS+DrZqPOCn+xAUVq/tI72T3xeqfzgZ3r9kl2O2 BD2OBx7DOdGrru0X+7XR146nUXhV/Ru/rISH5gmODrWfmwmjS77umcUM5i5FjrETSiGh J/oelpjI9cMFqBLr/fO2LN4Ix4upgIvKcSloCZPfuZDV2ty5wR2pfVDOTqRs+Q38iuSg AnfRFJMQ3RoNMFWC19H2G41B3U7JLo9IWq6TWjg1H+jR9oQ51iicsnYZvubgx/+Obe4H ZCuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=/mikWXsEF6oIrdUCq9T0rzVJkan3K9SPEBFFLjhU2Gc=; b=WaD7CBu9fpniknoMN5SACTBD7IU6CJTaYZCT6P5C77+lm4F9OuIL/GaP/ignshMYvL RsxTa/OBzVbUJVSjXO4cBp993VPH8RIfmF8dXB1zyz8Z6rVSqFXWrifv3Sktc8kljQ19 tL5vX4JOSZyzaPFKCdOQDRqWpF1nXH4ruzE/WuRznMwi/rhgZNgcJQYn4HLuXGuANFaR ET7Pcg+y2RtLKxm7m72xUt7H+mFrsU8Ii5nvd0fEygIaUC1gX2bX7VMHIiNDJvbO1w3J CIg3YWCae3Cnn3iCVRk71dPFWmFhh4G2AFlyGadZyMNZ6Lwno03IVxDUV9X43K3xCMJI ED1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r191-v6si19046886pfr.152.2018.08.13.15.38.37; Mon, 13 Aug 2018 15:38:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730998AbeHNBVZ (ORCPT + 99 others); Mon, 13 Aug 2018 21:21:25 -0400 Received: from mout.perfora.net ([74.208.4.194]:55955 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730131AbeHNBVZ (ORCPT ); Mon, 13 Aug 2018 21:21:25 -0400 Received: from localhost.net ([89.217.215.226]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPA (Nemesis) id 0MYMgJ-1fKwOX1pZp-00V9WK; Tue, 14 Aug 2018 00:36:09 +0200 From: Marcel Ziswiler To: alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, Kuninori Morimoto , Mark Brown Cc: Marcel Ziswiler , Jaroslav Kysela , Fabio Estevam , Robert Jarzmik , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Charles Keepax Subject: [PATCH v2] ASoC: wm9712: fix replace codec to component Date: Tue, 14 Aug 2018 00:35:56 +0200 Message-Id: <20180813223556.16262-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 X-Provags-ID: V03:K1:2BXCIdTxo+UcBIg8O9t6EZ8sCSWIxvjYReX3+bjDPlY5tIR5JYH ATe72+0qDOOzg2TaioevmZPFqkJzJ1EDOUYnLHdM+QIiejoDbaoTxDGI8Yr+kopchNSSvDU WDKlmBbGmM2DmYH/8poYZ676S0jVL8tRtrwu0C9llv2clcFZCMD3kYW2ngJXOtfcGQ73WgM Dl3ZeIysIr6eU9R0zdCLw== X-UI-Out-Filterresults: notjunk:1;V01:K0:1i8ykMsYRe4=:cftUe7qJ1+d2z6DObgBFZY lT2bubXEbaftPID0jbY8PiSEkwGfDsL054e72neIx4jucdDwwhUenUqb7bp5DisXKpDBL+QYC tNhNubNtYLT5cCpB0GOZnT6ZyCLXOCtfV8XaQSa/uar5dxBFTkS6JbuID0fkcG99CebxCPPbn r0/rkO8vq/Hiv2RlvKF9PeoRgX7U6W+XEHFAf9tpfkrtUcjPRPsE9eZ7qPV8EFtrXLHiyPOk4 5++rqSgl4md2wak1n1LdMm+NxUy26iEwvdsPR7paZJk9QzVO6n8lr8/WFxIoFbLLHo9yw7jlN 50Igk3bVDALYJH8ATWOg0pcVRFmzqKQD1s8rglmtkv4EpyfxD7r/+0BGW9mi+EficjF0SwEHF gMbau22fvyfqKw7L0wq+nrjM+C+4JVCbjckcZzgdEkHrPKCKgaikpeFwVw89iqSkfvlxfr0uX YuW4zSS3z83nAicshhqIQ939QxJCoB1O5TxofGZv1ibV3HS9ZJAgSOQUMpIQkhSKsVkqHrULn hElOw0asgSsaSZf6eY+e9uYPhDiI4O2zDkQ2mfd2uEZctY5eJKtFtkeOQiRcqCztarcFvom1a 1fVx7ogj8QlpjhRuUCCYvELW/afmoNjMcBCPVvEcIfJBQq44CeM+nVekgRO8AHUfuCLUaLTkI yxDVrzL0N/8SoyntJrjOXbYKRZcj6Z3QOHx+FG3HjvFRcbdcTCGTziLFN1hapKSO97P0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler Since commit 143b44845d87 ("ASoC: wm9712: replace codec to component") "wm9712-codec" got renamed to "wm9712-component", however, this change never got propagated down to the actual board/platform drivers. E.g. on Colibri T20 this lead to the following spew upon boot with sound/touch being broken: [ 2.214121] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered [ 2.222137] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517) ... [ 2.344384] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered [ 2.351885] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517) ... [ 2.668339] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered [ 2.675811] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517) ... [ 3.208408] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered [ 3.216312] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517) ... [ 3.235397] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered [ 3.248938] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517) ... [ 14.970443] ALSA device list: [ 14.996628] No soundcards found. This commit finally fixes this again. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Simply rename "wm9712-component" back to "wm9712-codec" as suggested by Kuninori and Charles. sound/soc/codecs/wm9712.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index 953d94d50586..ade34c26ad2f 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c @@ -719,7 +719,7 @@ static int wm9712_probe(struct platform_device *pdev) static struct platform_driver wm9712_component_driver = { .driver = { - .name = "wm9712-component", + .name = "wm9712-codec", }, .probe = wm9712_probe, -- 2.14.4