From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C6BDEB64D7 for ; Wed, 21 Jun 2023 10:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231453AbjFUKxB (ORCPT ); Wed, 21 Jun 2023 06:53:01 -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> 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