Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp817112rwi; Wed, 19 Oct 2022 03:24:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7etoJd4tQOp/xmEUUR9N72xV1GnvnJXL946XV1muk5BTCskzVPX2p+XjgQ/SeicbapAgoq X-Received: by 2002:a05:6402:2712:b0:45d:de37:f828 with SMTP id y18-20020a056402271200b0045dde37f828mr6223980edd.317.1666175090198; Wed, 19 Oct 2022 03:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666175090; cv=none; d=google.com; s=arc-20160816; b=iUvn3Q8ihikq1Fls5lGagTWOEhZpzqkNPaHZanyYr8nVxadjp6N0a/qQTsmn9W/pgg SQpwMj0gKc3RkelVVCO89yfvW0Hc62tsM8VfFFbVNmKdIFS5DdTVoprP1z0TXdMKpnXh qjgHE04rUhhUUnIhA3kfWL40bUoGESGmN5ACCyC+kKACo59mjQJknY99/MAqb1ML20DG MwoNPXkF4BtdEowbi9zDn5+JHZrSPGua3kW6df70j3H9U85UXWDxXYmnRU4G4ZaHDGcc 4SQiGptOr4/Mjg8m0/TeSGc2LFpdEpynkupCZYqetNyc0w52NT94UFeZUa8VhAE0pvWi FoMA== 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=GsO8gIVfIcyGFWyZQHDb0xWiPqUPtqAOnUBgy4W+i0LWmyQe4QRg5hHK2FnPog30f/ cy4saiUyvycQsxmS6yNNZl1GWIW745hIE3IxI9juLy+D6bTrHHozGx/Ax6S9sqKKjkr0 Q48xktHNM1qBxaBoR/h4DoAWn3Q4s/FIHvNrieMwesmLADyI5J+Co9c51stHaR1bs8RY tgnqRkYYnP2hFr6aEYkZt5k4dVVts8I38Q5FKM1Pp+dbekt9tF3A0ZjRj0cDaEgW6np0 cZb2VvAdGossAXPHpfb5rs3Wy/5UgGHWiir5icR7j3PH4ylJL+IXVlj6YGNtg+yuxILq am7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0cbDMOqP; 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 ce12-20020a170906b24c00b0073d9c29892csi11524565ejb.939.2022.10.19.03.24.24; Wed, 19 Oct 2022 03:24:50 -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=0cbDMOqP; 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 S232727AbiJSJJI (ORCPT + 99 others); Wed, 19 Oct 2022 05:09:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232371AbiJSJGT (ORCPT ); Wed, 19 Oct 2022 05:06:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A2151A83B; Wed, 19 Oct 2022 01:59:37 -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 F1C7A61805; Wed, 19 Oct 2022 08:57:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 111A5C433D6; Wed, 19 Oct 2022 08:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169879; bh=L07KiKZDECLETthVLMJmTtvE8NKrJZSQVDnbc0zkDzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0cbDMOqPgCHC1iuyPukpsTRgWbxRGlvRNUgc+c2nhaiTeXuybPInkvMRCENeFeUmG anKnDDPBHUftexIfS8qjVZ5v84oAYwFTGwDMpiKKdWd7rtfBmOf+AJF4ZGocB35kIl solkwI4s4Xb5XwZ1+bfyh8eKlmoJI5OJZ7JwHwYU= 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 6.0 442/862] soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA Date: Wed, 19 Oct 2022 10:28:49 +0200 Message-Id: <20221019083309.526792843@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@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.4 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