From patchwork Wed Jul 13 11:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 590202 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 BE9DECCA479 for ; Wed, 13 Jul 2022 11:04:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236141AbiGMLEh (ORCPT ); Wed, 13 Jul 2022 07:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236038AbiGMLEf (ORCPT ); Wed, 13 Jul 2022 07:04:35 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8520E113D for ; Wed, 13 Jul 2022 04:04:31 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id k30so13605528edk.8 for ; Wed, 13 Jul 2022 04:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DU5XuSW/046mOOm+NLcLZp7tRfHbjzmrVG2d7moN73o=; b=TfwpHdjd3WTm7+Q1rz1BBJtUZDY36nJHU4SwbysADFTmD8X2vkgPfHAu1cL5imoXjo aC5qceDOX2HhpYWLd8Dog+yLL7CHJiFAkMF0xR+7ColcILO/beGrIuPLKWtHk8EarT4n 01ct3IkgVRX0Dn2p5Gwck4nvsvMAyq2Ksi7ROAP1GZiujf3wCdSfjSB6bZRoMRp6PBzP MFbrOLhJnc++ddD6X/PXb9Xff9fvIQ2sVUltx3KcNO/2dgWVUceJwbDILWJTnCu1kQxv IbXx19TEvYQO9lZeflifdo7o/gab97aNsL1SRGC82cHS1GhHmlb+JsCtDy08smhoEHeG ZSEw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=DU5XuSW/046mOOm+NLcLZp7tRfHbjzmrVG2d7moN73o=; b=uMEVXbw0/LcNEnlurmHUmGzDVPsEMRxpl1ymbcM0kzv6ymh7QctmHXIU2x+VPWZ1D7 ph1Xqw7yFLbSULT5eV0kro1z1h/0O83teIwgxjasgSCur8qffBy9CKXo7HwtcFIrLy/H 5lRKZaq6ng/9u3ZQsnyPy3uJPGSmsx4Kxxemif2iF4QICiwxBD38V4Th/2qI4YbePskW COW39vMoByWXzHH8X6a/z1UYnr2MaenkZN534ng7snc0KUxY799m0YeZLN3rPHBASiou GDp5Td080wPjGBBYPOIfu3BUOxIva4lILG2oD54FDr9mxJk1Z903/bzY5wBGacmqg6WX odvw== X-Gm-Message-State: AJIora8GX5LtXXQXeKHKSuzlCAgo+yuyH5VUL+oErozMwFgMjGu6zJam hMCRTFdgYpNegc1Rt1h+TD7ZwBz3CgVnhhlz X-Google-Smtp-Source: AGRyM1sF3/3nzpdNyUiYD97PSTi6VVNkfmFxs8ONGJPQV8pikiV9P9XJvw2wvdvABIFiNmMi1ffSAw== X-Received: by 2002:a05:6402:1e92:b0:43a:7cd0:6bed with SMTP id f18-20020a0564021e9200b0043a7cd06bedmr4079253edf.423.1657710269651; Wed, 13 Jul 2022 04:04:29 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id c9-20020aa7d609000000b0043a75f62155sm7801152edr.86.2022.07.13.04.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 04:04:28 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov Subject: [PATCH 2/2] soc: qcom: smem: Fix compile-testing on dependent drivers Date: Wed, 13 Jul 2022 14:03:51 +0300 Message-Id: <20220713110351.827446-3-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220713110351.827446-1-stanimir.varbanov@linaro.org> References: <20220713110351.827446-1-stanimir.varbanov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fix following unmet dependencies seen when compile-testing Venus driver: WARNING: unmet direct dependencies detected for QCOM_SMEM Depends on [n]: (ARCH_QCOM || COMPILE_TEST [=y]) && HWSPINLOCK [=n] Selected by [m]: - VIDEO_QCOM_VENUS [=m] && MEDIA_SUPPORT [=m] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_PLATFORM_DRIVERS [=y] && V4L_MEM2MEM_DRIVERS [=y] && VIDEO_DEV [=m] && (ARCH_QCOM && IOMMU_DMA [=y] || COMPILE_TEST [=y]) by select HWSPINLOCK instead of depend on it. Signed-off-by: Stanimir Varbanov --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index e718b8735444..68f29452e5fa 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -139,7 +139,7 @@ config QCOM_RPMPD config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" depends on ARCH_QCOM || COMPILE_TEST - depends on HWSPINLOCK + select HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. The driver provides an interface to items in a heap shared among all