Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2139409lqz; Tue, 2 Apr 2024 08:17:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVg8zqk7ecapEgqLxHLkmL69mURQ2yYsny3/3uUa1Alc60lFHR1w+JSyz2P3eXlZrx4lFiWbuRiixGtipmS4Y+wJKX+Beti4SYE5USiTg== X-Google-Smtp-Source: AGHT+IHP8nRLTtVRlFpBWlC4OdW8kDNHIJIu2DJ9jnF+s+j2dr0c+wl6VU4JaQRCOR0MrorZoKtD X-Received: by 2002:a05:6102:2cb:b0:476:e1b2:c9d2 with SMTP id h11-20020a05610202cb00b00476e1b2c9d2mr10450890vsh.14.1712071079022; Tue, 02 Apr 2024 08:17:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712071079; cv=pass; d=google.com; s=arc-20160816; b=woAKQ0vsRUt5AFfgJLjTWiKJ5vlWJXMlnY5vyyCfw+sQglFBALy99Q+4sgfcsRKCcI B6hiM5RUNRBB62sR05Wyg3LD889V2cpjzTfd4SWMseaGIUNrs1OmR2aXKS7Cn9mizRBr COze2QWFXASN5HjwdvVEw2sR3Kch6BN8g0XYI6/S8F/emBApuJvqha8L3xkOZ7dNwgfy pVbaTTcejyxpB9WmUO1ZjUWYOhkYaycLZxTzZY2pEjdvlHtNvo45E/n5QuTl8mlGdjFf ItsitIwO7aYMAPbQUwUKQouhQAN6mp/A5/tLY3ERjfUJZwcjiz7FmzUdA89YgBpQjg2e 3IPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=04oCEJRlkMn/3tUgO8X/PzKFEHTFoybfxCmD6Nb3NAU=; fh=JyLNWoLBD4nkyUu6EoqmgiExeSb8RfMW/APhMNclQo4=; b=sLjnxzyLBslOgG/XHckbbsgitEH9YN8ylSutAbnJNDBsBxkMdaAFypRxO5ym4n9Cwv yMHgnaQ5RrS5+gjDUunmLBZy8hr/MhhLT3ho26i6hdF5LnNQbceSJHCzHaHQ1+NOfRtk 6Sq9Kd/0x8BBWNUayzcT6EcM0gkwa3QDN64mgTYfRokZTvg2W51CbBtc+54/fGSgZdFD AXxAdLEgCXK6MTF6rhIAUiwQbOAWE9gjUSg2Hr9/UVHlwG9pIGFKrSAJQvsqsMzjSBjl piMzoMbpoe+FPl9wnwkYJDVIt8E9NkJaEvxY/Ji53gR3PsrXIGx/hp9RzIAU4dj4t8Nl WI4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JmJ7UZYn; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-128231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 98-20020a9f23eb000000b007e31c851dcbsi1432887uao.209.2024.04.02.08.17.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 08:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JmJ7UZYn; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-128231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B82AC1C2143F for ; Tue, 2 Apr 2024 15:17:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4372F12CD82; Tue, 2 Apr 2024 15:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="JmJ7UZYn" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADBD312BF26; Tue, 2 Apr 2024 15:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712071072; cv=none; b=JH7EaiZtR9TC72x777XkUUb5CksANtQur9WDT2TJO0vW+gAi276eH1AJnQ57i6ZwlgLMvavDp7bFWZHBz6LNqYoPJViZk6zZDuhE28YxgfSaQqnj5OUXBgddai2D/TMblMkJZuxVsd3BjpjDubcYc/mE1XH+x0nANWHYk6wJIuM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712071072; c=relaxed/simple; bh=YTo9w2fHjpKrEKywxXucE0qQd92vHtW7IgMooVpRS9o=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tzvQU84jVh8xmpZnebt8jYAnngbOiRDvRDPq2tULEq/HP/8clznQfe05/JdAM5pM84nvj0yJfwxWOCK70zce5NmqbKffDxE6NMbn6QokUczjwVBt9WisGOBFkP6IampfEXQQ8eccVybCzOYtWNYFYikgI1M1cf2kCKJ+0o3QkY0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=JmJ7UZYn; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 1B1171C0005; Tue, 2 Apr 2024 15:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712071068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=04oCEJRlkMn/3tUgO8X/PzKFEHTFoybfxCmD6Nb3NAU=; b=JmJ7UZYnW6d2WwwDCJBioQvmfR/0wENnN0+GHBqHUBT0C8UWW4QPv75GW67eZ7d9CHfJ4W THXQCdmlXk1ADwRJ0Xt7p1gQgujIo5celqmtTJhdfVxaxphlzlRT1dgBUxz37yew2Y70V9 u1hEeklAPmdxrvj3WJegzfcTEMyGER8cE1XBatf6wfkodLzUUCePCV8dUGUG4me6t2cUSk c8MOTy0KXc1xNcs567HezP2oWvXBfMfGJFGa4/YDdpV3pjIJa8U/8vR1cbDfngUOGWEFIu C863xUSRv8GEFYkLlBIPN644MMRIrn1RQ5f66lPbj1+doK95J9GKY/16vzSJXg== Date: Tue, 2 Apr 2024 17:17:45 +0200 From: Luca Ceresoli To: Mark Brown Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , Thomas Petazzoni , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] ASoC: codecs: rk3308: add dependency on OF Message-ID: <20240402171745.2cae620a@booty> In-Reply-To: References: <20240329-rk3308-audio-codec-fix-warning-v1-1-b9d177fcd6c9@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: luca.ceresoli@bootlin.com Hello Mark, On Tue, 2 Apr 2024 14:04:19 +0100 Mark Brown wrote: > On Fri, Mar 29, 2024 at 09:44:47PM +0100, Luca Ceresoli wrote: > > > config SND_SOC_RK3308 > > tristate "Rockchip RK3308 audio CODEC" > > + depends on OF > > There's no actual build dependency on OF, please add an || COMPILE_TEST > to improve build coverage and help maintainability. I see, thanks for the comment. While there, an even better improvement is probably: depends on ARM64 || COMPILE_TEST using ARM64 because this codec is known to exist only on the RK3308 and ARM64 selects OF. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com