Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4199351pxj; Tue, 25 May 2021 02:35:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwq9cvwXQ+vNPrqvi807M4X1EHWZ3yWdo4D7smAJtpSdtDNvj/CikKu/VbqdAimnVL+2bpH X-Received: by 2002:a05:6402:13c3:: with SMTP id a3mr30955075edx.18.1621935302854; Tue, 25 May 2021 02:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621935302; cv=none; d=google.com; s=arc-20160816; b=FBIo7wVqsFQzNJcMrrq4qjbKO/qKdSkqOAbLvEfCTo7H38Laah528xTgUgUhPTFw8r xzbbBZo5Hk+HW0BTX3V4qTMQ4CNsAnV8s5pau/jm4yAy2YAEvassDclpWlDFBM+wgowx HNLCyPSv/DmZJYBQz7SVoftemQJolBwW7N+49rGLdu1KlTpQRVLRrZ8+h8zl6EEvdJZU g1OqCs+sIuxt2pfC+iUcDswv1gFDqexn0vexrTk7+fScqZnEIOFsWbCFnJSvYChY+smW Z5k9uMN7P/MQhdMW3mfF0YrbcpFJTzXzVSn5U3A9Y39f4F+RKCcNwPzPdBQ3mzXvwxHX OUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:organization:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=REwSbD6c2y4uOJr+VDrPwp7ozoiDwTGI+TS74W1wguE=; b=JI10Tsg3aEhxwh5Vdwew1OPvBRct9Ij/VxlDxUKM1IexktMDTiWQvIA2NMp4x6qHqR +KqesUYLaz+v0Gi7B2PCwlA+od8EzE9ogBoRLPUIFAcnm+X1NeM3StXhHwOlqDCAWKNa bOs0V1wnzECO+YRey/Zga9EzwOxOi4txhb0wLvAYDZnWMAOstKu10spHUQl6DOpX3qCA VtzNjglx3TeIjojpvo8nlG7f7aU3QewRnvMUDODNP7IXUhgih+xmnxtOgSYxtDrVc+Le GslPZAZ5mMkID2FjdhuVN8j0Qg8T+4vmwFq6azqeMqsaGmYw/YtT/gZONan9su39XLqY UxHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si17982511ejb.629.2021.05.25.02.34.40; Tue, 25 May 2021 02:35:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232414AbhEYJey (ORCPT + 99 others); Tue, 25 May 2021 05:34:54 -0400 Received: from mga02.intel.com ([134.134.136.20]:24343 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbhEYJet (ORCPT ); Tue, 25 May 2021 05:34:49 -0400 IronPort-SDR: fJnQoZ6GzfbC2p/nuN+FRwYLl6HsPlDOBjPGgi8iuUx/HQhShoWvkzn4wQKrs9oqpW0Yan6uiz G2Llo6hZOX7w== X-IronPort-AV: E=McAfee;i="6200,9189,9994"; a="189269519" X-IronPort-AV: E=Sophos;i="5.82,328,1613462400"; d="scan'208";a="189269519" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2021 02:33:16 -0700 IronPort-SDR: 03bxMCJnHjkapOYeBavX3PK6rCBaqzbrD754BtcWIUXQm6MdhrnVdDmwdedAwlJQ1BK16JcpW0 X6QlnuI5o7FQ== X-IronPort-AV: E=Sophos;i="5.82,328,1613462400"; d="scan'208";a="546702087" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2021 02:33:14 -0700 Date: Tue, 25 May 2021 12:28:17 +0300 (EEST) From: Kai Vehmanen X-X-Sender: kvehmane@eliteleevi.tm.intel.com To: Pierre-Louis Bossart , Richard Fitzgerald cc: broonie@kernel.org, cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, Kai Vehmanen , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH] ASoC: Intel: boards: Select SND_SOC_HDAC_HDMI for Soundwire machine driver In-Reply-To: <9ed54875-fe77-f70f-9085-0f3b4c9d576e@linux.intel.com> Message-ID: References: <20210520163324.19046-1-rf@opensource.cirrus.com> <9ed54875-fe77-f70f-9085-0f3b4c9d576e@linux.intel.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7 02160 Espoo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, 24 May 2021, Pierre-Louis Bossart wrote: > On 5/20/21 11:33 AM, Richard Fitzgerald wrote: > > Add select of SND_SOC_HDAC_HDMI for SND_SOC_INTEL_SOUNDWIRE_SOF_MACH. > > Without this the build results in missing references to > > hdac_hdmi_jack_port_init and hdac_hdmi_jack_init. > Kai, can you comment on this one? There is nothing specific to HDMI in this > driver. usage of hdac-hdmi is removed in newer mach drivers (like sof_da7219_max98373, sof-pcm512 and ehl_rt5660 -> and there's no select for SND_SOC_HDAC_HDMI for these). For older ones, we've kept hdac-hdmi in to keep compatibility. For sof_sdw, there are still calls to hdac_hdmi_jack_init() and friends in sof_sdw_hdmi.c, so this is a real problem. I'd say a better fix is that we remove the hdac-hdmi support from sof_sdw. I can do a patch for that. > Something's inconsistent here, it's not limited to SoundWire I am afraid I checked all the related mach drivers and the Kconfig definitions are correct for others. So select is done to HDAC_HDMI whenever the mach driver uses hdac_hdmi_jack_*(). Br, Kai