Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp425035pxp; Wed, 9 Mar 2022 05:46:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCdd5lOLeYnupZOVhm6b34wXN3457sokBw3ryih2U6qSE6cyQKb5SApBWpkLON0uFC0dG5 X-Received: by 2002:a17:90b:4c44:b0:1bf:f00:3735 with SMTP id np4-20020a17090b4c4400b001bf0f003735mr10521372pjb.168.1646833584224; Wed, 09 Mar 2022 05:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646833584; cv=none; d=google.com; s=arc-20160816; b=yK0wK3kCFOsV4fVX0diiJ6sS7F0AD/QB3ri9Pseo6fIEqY/4E2CsntSeeOJqzb9sdY dcDoM9s88/See12Onh6tpSBRLjEDiyv12nrn1kUWkjR0FjDQ1g/y7kQKhzl6nIFB2clo DwSlWyTEOLEmkiTDGz8HkiCi3AZDhxsEIVaZJ4A8dIVqFCy/jynKsi2ZKx8Hcao6t13i Vib2CRMF+4Kn3964mhWcCzv9+C1MO5doApnOlAdETe0xBpWQAeok4nlWaQW/4HUJhgBJ RkQ3ofgysPEzYti0ythkPoLEGI15zbg87JZF/pCfRvXtZ9MjboAe7GU2Pv17Y8Uukuq1 5lnA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vgKY2Q6+QhjEsaicdqEnaC8ePiL0nSdZLDa1oY8ac70=; b=gHm5KmQUsvw1qSKPv93+N06bPA72OeCTQ5tu521WQ6CmilHujMHo9mmRD+n4Y5OaCw jkVEHQcMeSyzYshLR/ijQOxCuEWElT5xcZJeSrkK8hE6czFrsnnhxDaXX3coSHg98hag bKUuI86dlj2z34SxommrRyXbdmXNZXQS4Y6ZiUHtwxGarU6mr6qkNLlm7YkAM6d2t7C0 x9dq6HhHv3NsEOyL9qkmaNSyv9lDG39or3lfUN/qVCnR4gLWY4/vnrrTz3AVXfbqrH+p 88543v7yqsNdIynlM3AUofASmm5j/YPC48l79N6f1oQXQHhZpzH1hzlaFxKPnqF/HUuT hUrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vVSZXrOP; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg6-20020a056a02010600b00380bc72c9a6si1349041pgb.46.2022.03.09.05.46.07; Wed, 09 Mar 2022 05:46:24 -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=@linaro.org header.s=google header.b=vVSZXrOP; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231786AbiCIMqC (ORCPT + 99 others); Wed, 9 Mar 2022 07:46:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbiCIMqB (ORCPT ); Wed, 9 Mar 2022 07:46:01 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15D4017129D for ; Wed, 9 Mar 2022 04:45:03 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id i8so2829598wrr.8 for ; Wed, 09 Mar 2022 04:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vgKY2Q6+QhjEsaicdqEnaC8ePiL0nSdZLDa1oY8ac70=; b=vVSZXrOPJfdfQlk3yTj0sWxYXjSZJJJkmhzOxE8T2zdhsyWzXcJymep2acmJW5EkAj tDRgXyY/uR+mP9F92Mto8Ua/ILvYDmGp64/LXYomkY+MK1rCMnk8u12j2VVPJahNUhS6 +CsX2K1acavUCwQt7YsxEB0kw5Dd+RkwxFtZ0Fl15TTmgrVdO0kIXf8UNPjbmEHb54Wy rBdBlhr4PTMAYyRcjAH3JGSph2JPa0K8mfiYKGg49yc8LQoUMJJWCgYNgOTtO58extn8 mchCuXE3HVN6NGKZVKmMxBCKSy+gODUHJwECYAwDSrwtUey2k5ZfdtG1VP2B15qGSVeJ Qfww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vgKY2Q6+QhjEsaicdqEnaC8ePiL0nSdZLDa1oY8ac70=; b=v4awtDWSB3YFOUlRggVXNxX1b5h1KCsjRyTpUt4bA6KUATJAjznbhOuwoY5iFKk2MM srihr56DSuZze5apLofWOsf162AFeGalfsWQaKeRdbVpG7PCNVi6S06oDhmKHKLQEVSU 2WZqCgtkvZgXeenrkYYy84Emx537oxlEEG6SpGierWiNm8Vchqo3vFjSxqIy8GdrHQi9 ZT0G3R8Dlxh7a5qlj/b2NV7s0nHuznJZYInTCweyaMS6b9h/j2wqqTTbncEeP/SbDLEa BI9SBoYYD2hRdvHMab4TZvCJVdb5YmfuZUkiGvPFhTWjnLf+6r9gnsCO73uOIB33O4wa zvgQ== X-Gm-Message-State: AOAM531adaEtLMd4eeMrx7w77mpX0Bsu4nkHhMoGxl29ZQJ+kIJl3Rfi ScP2FSWM3aF98UtTlJbw59SFTQ== X-Received: by 2002:a5d:6344:0:b0:1f0:21ee:9705 with SMTP id b4-20020a5d6344000000b001f021ee9705mr15663343wrw.93.1646829901625; Wed, 09 Mar 2022 04:45:01 -0800 (PST) Received: from srini-hackbox.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id bg20-20020a05600c3c9400b0037fa5c422c8sm5414414wmb.48.2022.03.09.04.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 04:45:01 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, quic_srivasam@quicinc.com, Srinivas Kandagatla , Randy Dunlap , kernel test robot Subject: [PATCH] ASoC: qcom: fix Kconfig for SC7280 Date: Wed, 9 Mar 2022 12:44:53 +0000 Message-Id: <20220309124453.25841-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 select would force the symbol to value without checking the dependencies. In this case selecting TX and RX MACROs directly without checking its dependency on COMMON_CLK would break builds on platform which do no set COMMON_CLK. ex: WARNING: unmet direct dependencies detected for SND_SOC_LPASS_RX_MACRO Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && COMMON_CLK [=n] Selected by [m]: - SND_SOC_SC7280 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_SOC_QCOM [=m] && I2C [=y] && SOUNDWIRE [=m] move select to imply which should enforce symbol to be set to 'n' if any dependencies are not resolved. Fixes: 57350bd41c3a ("ASoC: qcom: SC7280: Add machine driver") Reported-by: Randy Dunlap Reported-by: kernel test robot Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index ae99833b3fdb..593fd85e03ad 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -194,8 +194,8 @@ config SND_SOC_SC7280 select SND_SOC_LPASS_SC7280 select SND_SOC_MAX98357A select SND_SOC_WCD938X - select SND_SOC_LPASS_RX_MACRO - select SND_SOC_LPASS_TX_MACRO + imply SND_SOC_LPASS_RX_MACRO + imply SND_SOC_LPASS_TX_MACRO help Add support for audio on Qualcomm Technologies Inc. SC7280 SoC-based systems. -- 2.21.0