Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1771310imm; Thu, 27 Sep 2018 02:10:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV61UKXpWkHuquLYjZo+jPFg6j4qauOkNs3RCdk3ORDuqsFjMLEo/Kpyue3nXfkEhCc5hr3Nl X-Received: by 2002:a17:902:6102:: with SMTP id t2-v6mr9968619plj.278.1538039443780; Thu, 27 Sep 2018 02:10:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538039443; cv=none; d=google.com; s=arc-20160816; b=Hwd2VKlHYPH1lARbOTgZIEpXAbXH/GRoojDZIcx51jDcVh1hyi+QMxu6MJVUBbZ12F Uu/6UmxmR8bUOO5DrZ5B46rfCuXGGLrSEaMwIBxP4KrL6UY6tABZgru5S8qz89lo3HJ/ dVSO6/5j7SAChrZ4moOsCb7//0qVvZxClF/h6DisUpQKoAuG29UWeTN704TsGqdN5zt8 1ZwZ+R1tb1QQE8aS2/2MLoLKRfccp0n2WJNyLBgPNq5NAkHeJ/dnhQdIs1x48Srrwf02 NxHhrf/kDVS8psQbhMbLcK8Mhzqj/ARzXQTMifyYcua0ythwQyA8H31SgY7MQYc3G7BZ M42w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=EBoGpnJcusJDnmEDywLktic1tw96uh8jqEeYuIicRok=; b=JQInqQULxpUgCugGgtwCPRsuVe8lzzA923c4XNFGXehv8q5Q7DKYTh2Up8P7Wtuc7R jpwcUkPC5vOUIDovvKeFaPqSBZHtPgH3h7dOpRSy/RO0x9pRlW8WQTpSrZdwzmYEfkSU QGX7Oesgtze1+icAYwb0TuNy/JvVGxGg7ekQ8DEKEElzBSXEqQQTPBNswhj10Je8vCH3 kU3Re+EpzZdu21oWPyk/qZdIjxjSo41+R2Htv6djenzzl3w9XcsF1MJ4rWPBJqCUHpKM 9E5HB32/VOZQq4rud35ElsraEG/FRrrxh1E8XF0e6RxpMNPQXDLDlrzT6kpLn/g670JG klNA== 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 i5-v6si1614183pgn.314.2018.09.27.02.10.28; Thu, 27 Sep 2018 02:10:43 -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 S1728072AbeI0PZx (ORCPT + 99 others); Thu, 27 Sep 2018 11:25:53 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54976 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727020AbeI0PZw (ORCPT ); Thu, 27 Sep 2018 11:25:52 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 404BE10A4; Thu, 27 Sep 2018 09:08:36 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marcel Ziswiler , Charles Keepax , Mark Brown Subject: [PATCH 4.18 25/88] ASoC: wm9712: fix replace codec to component Date: Thu, 27 Sep 2018 11:03:06 +0200 Message-Id: <20180927090303.641313606@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090300.631426620@linuxfoundation.org> References: <20180927090300.631426620@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Marcel Ziswiler commit 5e4cfadaf5b73a0801b2fa7fb007f98400ebfe6e upstream. 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 Acked-by: Charles Keepax Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/wm9712.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c @@ -719,7 +719,7 @@ static int wm9712_probe(struct platform_ static struct platform_driver wm9712_component_driver = { .driver = { - .name = "wm9712-component", + .name = "wm9712-codec", }, .probe = wm9712_probe,