From patchwork Sun Nov 27 18:35:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 26398 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5246061wrr; Sun, 27 Nov 2022 10:52:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6VpCFHz7qz2V9NCipKAbv5JnprEqcz26H+XWFpNwOzT/qePOwVaWYzPEVBdRRQoR+KjoqY X-Received: by 2002:a17:907:767a:b0:7ad:e518:13fd with SMTP id kk26-20020a170907767a00b007ade51813fdmr40656111ejc.323.1669575140208; Sun, 27 Nov 2022 10:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669575140; cv=none; d=google.com; s=arc-20160816; b=Ga1KF+8RVWX2EIJLG4dIAUKXUdJ48dUZa/TM/C25fDWaEZPM6uH1v41qtKVli6vrpV tspNXU6KagNa7CdMWg41BqHWHSSjA+bOoNC+EamHECAKHrfPlfhNRvEfkN2K3p0W8s5p EJnChTaRG60za8xPu7m/5d5xzvJ3hE/eDI+VLvKE3pdRCb/7MA+GwkWuzgel0fiNbWAj /lP8xz/sMyihgxSxnvMhJ4/uWKzhu1WYU1Sncwvs3nSmqBzRclPMNR/BiTPv/2aeuFeS JvFnB3tCRNt4WMqWh0cO1vUcGbZIpZGFmy9IJ0eRFi3HOEfpwbhuGQVceM90ToMf9jUP coaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=pca+so01TpkVtRqEtOLFEKfMhSeK3KmWPfNjCaNxx3/TH2kzcUN1R3B7tYlPS0/sNS rwlXTiv3GGLO+wOqwEk7ICfsNp518pX4ZYLHOp5xXVEyIi2AHMO0RkRvqwgCgeqc6DQP laT+oHzzWpPWoenmQlXgUWP5bCuEjTjszm0s8IqZbseadBgWPlR55mmlhTTv+DvlcPrH K9tfNr8/18UiLEawlbdbbFDMeo276eL8wVcfw2zD9r6rjkVQj5btwjCx5W2A/wUumetz Mr2KOUoFB6GwKtmFH9moBcwop5eVsPz0NTD/sNHNA2rzyAcSvVo6hBdjCWWPijqo9RoX eG2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=WuDtHBl1; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs9-20020a1709072d0900b0078d9b2facaesi9782857ejc.339.2022.11.27.10.51.57; Sun, 27 Nov 2022 10:52:20 -0800 (PST) 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=@suse.de header.s=susede2_rsa header.b=WuDtHBl1; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbiK0Sfy (ORCPT + 99 others); Sun, 27 Nov 2022 13:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbiK0Sfx (ORCPT ); Sun, 27 Nov 2022 13:35:53 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62BC1E69 for ; Sun, 27 Nov 2022 10:35:52 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0B4D421AF5; Sun, 27 Nov 2022 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669574151; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=WuDtHBl1RK6ArRGJn+10YZHQwtvyP1BuKQrOhASlOHnhqdnDasw2kz+t5CV3qY2VVR7oos Qvwzlci8MXM7D62SxXxjQl7G0a1C8x6LuGiAzGrVvoOsRdiNeGIA0yVZHQ5gGfBeVqRK8t ogkxVP/kOvz4CJYrlH9LxmXbESMCmPo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669574151; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=t6qwboRmpPh/XqJGVRiRLjb3BfVx2ws/LkGz2UIuOqwA0If+36QFQ2gIzOayWEmxClW0l0 M5nx+dybgkg5btDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A95DC134CE; Sun, 27 Nov 2022 18:35:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id n7OuJwaug2N9HQAAMHmgww (envelope-from ); Sun, 27 Nov 2022 18:35:50 +0000 Date: Sun, 27 Nov 2022 19:35:49 +0100 From: Jean Delvare To: LKML Cc: Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen , Daniel Baluta , Mark Brown Subject: [PATCH] ASoC: SOF: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221127193549.211bf8f7@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750676422116276270?= X-GMAIL-MSGID: =?utf-8?q?1750676422116276270?= Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. It is actually better to always build such drivers with OF enabled, so that the test builds are closer to how each driver will actually be built on its intended target. Building them without OF may not test much as the compiler will optimize out potentially large parts of the code. In the worst case, this could even pop false positive warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Liam Girdwood Cc: Peter Ujfalusi Cc: Bard Liao Cc: Ranjani Sridharan Cc: Kai Vehmanen Cc: Daniel Baluta Cc: Mark Brown --- sound/soc/sof/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/sound/soc/sof/Kconfig +++ linux-6.0/sound/soc/sof/Kconfig @@ -39,7 +39,7 @@ config SND_SOC_SOF_ACPI_DEV config SND_SOC_SOF_OF tristate "SOF OF enumeration support" - depends on OF || COMPILE_TEST + depends on OF help This adds support for Device Tree enumeration. This option is required to enable i.MX8 or Mediatek devices.