Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3912780rwi; Sat, 22 Oct 2022 02:05:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XNgL0tYS+9nOIWK+GiPzcRvJ0lMkJf+Ys5SlkaXZm/i5cXedodPHLLMbleevEPqY7w9or X-Received: by 2002:a17:902:a508:b0:181:2875:3b09 with SMTP id s8-20020a170902a50800b0018128753b09mr22852331plq.45.1666429520741; Sat, 22 Oct 2022 02:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666429520; cv=none; d=google.com; s=arc-20160816; b=rbWSdOVQM/WF7gujPxZ0bcAqFl8O4uLQbhxLixxPdlLWo77JxPgc8NN60cWxGh7Wtt AJDY2/6ezPMrV/kWFpss9S8WoY7aLq4G/UFW8B8u8RjSdbIrxCtc8t/Ik4uo3bdKXsuF PaMti905xXe+O3e68wuj3vl5ZpCAtbGIDGfD3gUKVsJf8qeVmoER5GDGffw0TwnxK0CI QfrihEH+/EFu6BfLkULYD1krDDozpi9Fz5DoC5lpQdjNfLpVJvLQZja1m5/Sp78HA/pN i37486/LvQ6wpBeH31TF9swD+9L+Ou/rWV/RpBb/V3dENnJ7/yyo0owHlwbL0PBKRQCa h4Rg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cZ7RgpCuSZ5qwstItwTGUw/LkawfrvTGgQvyyWQhkjU=; b=xmcMjw8G9c9i4/NQiIlclnkeDDx1BcG4ZeDoynSowxd/7f8KN3Ar4AKKGqFDXe9LPf /wtrWDIlBpXgFB+pk6pLNuT7mL5KnBmvcgxAlIuaXxTBjW4ojWzYzFrODft1SDDoQhCy ADE6wyg8x7fq2uiusexgmE2SfiYgZlHLYglSNNqGgGoKpWQcG1WEQM2M8KLJdOh/FwuJ RhAesJ1pGsYokf95/qiHhtVAoTraAdpmo15i58zDC5z6iRQW2ElITPfyeKMjeC8wpjKn AQTs1atwg2oW191V6J/82DqHuAAwXVkB9fskiGhkoEDFgc7K4L8E0sOsu2icJulob5aJ gL6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A3YyxOnp; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j191-20020a6380c8000000b0046ec396db31si3762218pgd.857.2022.10.22.02.05.08; Sat, 22 Oct 2022 02:05:20 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=A3YyxOnp; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234352AbiJVIha (ORCPT + 99 others); Sat, 22 Oct 2022 04:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233880AbiJVIbh (ORCPT ); Sat, 22 Oct 2022 04:31:37 -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 2A4312E5E13; Sat, 22 Oct 2022 01:03:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9288360B49; Sat, 22 Oct 2022 07:51:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5FACC433C1; Sat, 22 Oct 2022 07:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425111; bh=L07KiKZDECLETthVLMJmTtvE8NKrJZSQVDnbc0zkDzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A3YyxOnpUgZxpvED4kztSAWk62qIpa1DqLEhG7rswgsnioBFWYFJyFH4GPCiuxty1 iZ6KDF/IvASIci7HE44oR4WSs54TJ+uY7h0R4H81JM91see21tqi/28p6eJ9f9CmI0 Za/RfvECiaQZcE4LJ73hRsffvA0hX4QvUZaTPSn0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Necip Fazil Yildiran , Dmitry Osipenko , Sasha Levin Subject: [PATCH 5.19 363/717] soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA Date: Sat, 22 Oct 2022 09:24:02 +0200 Message-Id: <20221022072512.378187134@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Dmitry Osipenko [ Upstream commit 2254182807fc09ba9dec9a42ef239e373796f1b2 ] The DMA subsystem could be entirely disabled in Kconfig and then the TEGRA20_APB_DMA option isn't available too. Hence kernel configuration fails if DMADEVICES Kconfig option is disabled due to the unsatisfiable dependency. The FUSE driver isn't a critical driver and currently it only provides NVMEM interface to userspace which isn't known to be widely used, and thus, it's fine if FUSE driver fails to load. Let's remove the erroneous Kconfig dependency and let the FUSE driver to fail the probing if DMA is unavailable. Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20") Reported-by: Necip Fazil Yildiran Link: https://bugzilla.kernel.org/show_bug.cgi?id=209301 Signed-off-by: Dmitry Osipenko Signed-off-by: Sasha Levin --- drivers/soc/tegra/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 5725c8ef0406..6f601227da3c 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig @@ -136,7 +136,6 @@ config SOC_TEGRA_FUSE def_bool y depends on ARCH_TEGRA select SOC_BUS - select TEGRA20_APB_DMA if ARCH_TEGRA_2x_SOC config SOC_TEGRA_FLOWCTRL bool -- 2.35.1