Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9205054rwd; Wed, 21 Jun 2023 04:36:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6W596IgRW5R1a9mljr3VBN3I2ZvycleRX9/Zs4uJFiUkjJAqbsMorxJ3NRQE7G/URVO9B4 X-Received: by 2002:a17:90a:d50c:b0:25c:21eb:c2a7 with SMTP id t12-20020a17090ad50c00b0025c21ebc2a7mr29296594pju.16.1687347414487; Wed, 21 Jun 2023 04:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687347414; cv=none; d=google.com; s=arc-20160816; b=v/loL7VlSdNCesVF3R5oDoS3qRhtbONFwaxFhWfq1xUqWo+hzCgi1n8V2P/6KfSFrN OIh88pn5gFY6sLuf5VErrmD7L2CPXLJ7qRL4zNs80RNwndt0be+G4Jb8zwjOCcAa3Bce TdWcGzxOjRFf40o1ML2oq6bqTLDoXS2xWsqJK5EzbCQm/rc/jp0LqOF+4/qNMaiJDNKd jpfcktGD7UK2UKCYrs6UreiHw5o9Zc48j3GDdMEqSkXLgm84SYWNpd7fT++x+6bM97DP dNf1xPJEfWEPoH2phI8xYctgzSmmpJXLUm+zQMGiobkDODPoP+1Ido3p+vmKLyB8P2Hd 9leA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i+5O5KNAfh46bep9WglGvtd0uT3NiKV5Ffte2w0ilW8=; b=grBo1HuZ1grHq+Vehr1e96Ke5G4xKt1L4K/3jxVD+pddJvFzyiHSSQ9ia+sOamguzV i0BdHwZcaFOqa9fYBD3mgjxrjihVgKYQVwQLkHV9HhAhQiqhxNERXQ28r9okAa+Y28OQ mcn7akwUGglUu4lYRygBibMzyVu17dyoXwGRHxV1ptDhIMFsfMA0d94tJKxshoogPXrv kbAiRWCC0bX5votaaBNrk3QRx6Ucaprq6PJDLFVwO5H/GmtkQ+Js5mZs6LciiXwpwMiM Zf5gKzpjgcSnr3e7t3RPLbHa2GYUP56lWeLuSmV1z0XMk/kYP1dIPo60S6cWzY6jPG8i Hb3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AUgkeL9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v11-20020a17090a088b00b0025c1173c60esi11552097pjc.158.2023.06.21.04.36.38; Wed, 21 Jun 2023 04:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AUgkeL9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232645AbjFUKxA (ORCPT + 99 others); Wed, 21 Jun 2023 06:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbjFUKwb (ORCPT ); Wed, 21 Jun 2023 06:52:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC9A819A9 for ; Wed, 21 Jun 2023 03:51:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 72024614FB for ; Wed, 21 Jun 2023 10:51:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 546E5C433C0; Wed, 21 Jun 2023 10:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687344679; bh=1kZA/ZWjzG5usQ5GqlzqPsiXwNKPSaidlzP7qa/Trt0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AUgkeL9ADvrwRmG0xIOAbOBTHSY5srqR+zFdZHjCl34eFkP1h3JnJPvGGqDe+tpz6 bfbv+DHE625NBP3H4mgXPizSn3ZsUZ9+mKHk2biaze2QJ9X1vD4qSuO74cO/ZcJMAc XLQDnkVl/NOYKcfFF8SBVL0xC9BvCHNfSoVlXnBoNR8QLWQnVC5zZu75ZW6ooPA+fb TiGx55frIkJxLoUMvqL+iFj+sz+h4frJbTuAJMiFZJEcBDJzofzgCDdZo9YjzmTSwu Vh/zT/eaQaOxS/FsBK503iQPG7CwKfK1UAwDb/c98cB9BLZraA5J/Mrpbd6CEJYmby 6/GtIWhjqFjYQ== Date: Wed, 21 Jun 2023 16:21:15 +0530 From: Vinod Koul To: Arnd Bergmann Cc: Bard Liao , =?iso-8859-1?Q?P=E9ter?= Ujfalusi , Ranjani Sridharan , Pierre-Louis Bossart , Arnd Bergmann , Sanyog Kale , Vijendar Mukunda , Rander Wang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soundwire: intel_ace2x: fix SND_SOC_SOF_HDA_MLINK dependency Message-ID: References: <20230616090932.2714714-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230616090932.2714714-1-arnd@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16-06-23, 11:09, Arnd Bergmann wrote: > From: Arnd Bergmann > > The ace2x driver can be build with or without mlink support, but > when SND_SOC_SOF_HDA_MLINK is set to =m and soundwire is built-in, > it fails with a link error: > > ld.lld: error: undefined symbol: hdac_bus_eml_sdw_wait_syncpu_unlocked > >>> referenced by intel_ace2x.c > >>> drivers/soundwire/intel_ace2x.o:(intel_link_power_up) in archive vmlinux.a > > ld.lld: error: undefined symbol: hdac_bus_eml_sdw_sync_arm_unlocked > >>> referenced by intel_ace2x.c > >>> drivers/soundwire/intel_ace2x.o:(intel_sync_arm) in archive vmlinux.a > > Add a Kconfig dependency that prevents that broken configuration but > still allows soundwire to be a loadable module instead. Applied, thanks -- ~Vinod