Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9927820ybi; Wed, 24 Jul 2019 12:29:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7VshPR7nUyb/HWtbGujGtwFFSKg6NRkLLcR5pDQtyXCFgjqr14IEwz8iuCpXMQnJ4EwUc X-Received: by 2002:a63:7a01:: with SMTP id v1mr84732133pgc.310.1563996549983; Wed, 24 Jul 2019 12:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563996549; cv=none; d=google.com; s=arc-20160816; b=T0+b1+CYKrYrrLT/9S7Eh5R6KvM3REFERTrUl8Lzy+/IKxrgYzdzkvcjqkFV6ftRPl isaRPxtvKtD7DEDnvspREXT1MFwkJ1MrZEld8LGj6OK6FlEuMR1pEs8hZUjhbbXfP+uZ //rv7/eT8uOCNQWEwTcVLw068jp/z7nL67MSkDTF4Mw3FVYGPWAKVVcTsdv9TI2fzCJU 4PHYjWbSQEjiDHYCRW5AFOCEgzkXiS1F5PlyGQEhxFUYdPY0ONlR0Z/Z115XaCVpIYM+ a93KySz1XX4ZCPK8XdfWPY7XAJU627RkqCbk2ZxKQGBUX/T7TogWV/XXN/oWsT9Paqkr NNNg== 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:dkim-signature; bh=JY5uKgJ+x+6EwvKuWOg0779ZfDqUgfO/Dp/FLsPDC4Q=; b=E1EzTPeDjg3j1NeN846an6xLcIWIlPO//ifjIjydDieuT6DMOdIlET07mcdrf/Vn4B pDO3qvDYSPbWAFP0hDjXKYhQ5M7YclpaiHAFIW2nSKf2iIAV7RaubjBP3dQa6X/+7fsV sLDT7WuPU5UElFLCjqRBu1M/rlS/rdHXqcURvg4nYQqxXBOXWIKfkrYi29JW2u+eSVpS g+NtExBdLPQoKfASmm7LrC2Lpu8+aIHhRultfH4FrBwQJn28uXCHOg/naVR1JKScc2aS BH+BmQnRftxtDIoHXwn7geFw8X3swW66nKC/194UPjhbqyzA7GjTnockuVExKH5Ixm+K fOAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H5vAg4WZ; 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 v10si15563599pgq.17.2019.07.24.12.28.54; Wed, 24 Jul 2019 12:29:09 -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; dkim=pass header.i=@kernel.org header.s=default header.b=H5vAg4WZ; 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 S2387657AbfGXTY7 (ORCPT + 99 others); Wed, 24 Jul 2019 15:24:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:41472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727851AbfGXTY5 (ORCPT ); Wed, 24 Jul 2019 15:24:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BDF43218F0; Wed, 24 Jul 2019 19:24:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996296; bh=yyxO9p3zO8di+eBCrkLBUX7xtMMFJoPBjjH1svQRMUY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H5vAg4WZFlKvb5Ir1sCat5gmiDJ6r7BqZpob2xdJcUkX0j02JUV84yxV1JDW+4KsO z1fnk7pLPQaU+lUqPpDoRX4ggWDwuJyVEWyFogEwsrc6bSXy4t6Pbq9CobXK8WWpkX ti+qQgbTHd+ntF5r4KFjhNuUZ2nSFYFbJdCWpCmM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 5.2 049/413] ASoC: Intel: sof-rt5682: fix undefined references with Baytrail-only support Date: Wed, 24 Jul 2019 21:15:40 +0200 Message-Id: <20190724191739.031505780@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 17fc24875da1bef4650cf007edae3b2e26d2fa4e ] The sof-rt5682 machine driver supports both legacy Baytrail devices and more recent ApolloLake/CometLake platforms. When only Baytrail is selected, the compilation fails with the following errors: ERROR: "hdac_hdmi_jack_port_init" [sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined! ERROR: "hdac_hdmi_jack_init" [sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined! Fix by selecting SND_SOC_HDAC_HDMI unconditionally. The code for HDMI support is not reachable on Baytrail so this change has no functional impact. Fixes: f70abd75b7c6 ("ASoC: Intel: add sof-rt5682 machine driver") Reported-by: kbuild test robot Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/Kconfig b/sound/soc/intel/boards/Kconfig index 5407d217228e..c0aef45d335a 100644 --- a/sound/soc/intel/boards/Kconfig +++ b/sound/soc/intel/boards/Kconfig @@ -392,7 +392,7 @@ config SND_SOC_INTEL_SOF_RT5682_MACH (SND_SOC_SOF_BAYTRAIL && X86_INTEL_LPSS) select SND_SOC_RT5682 select SND_SOC_DMIC - select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_COMMON + select SND_SOC_HDAC_HDMI help This adds support for ASoC machine driver for SOF platforms with rt5682 codec. -- 2.20.1