Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4699583pxb; Tue, 5 Oct 2021 08:32:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhY76myxPJ72KoHx0Pjrtv2gt6h+ESNO1wvIBY3OaIvGKt3eLwp4pBJt0QkKLTAn6dkoha X-Received: by 2002:a17:902:8a8c:b0:13e:45bc:e9a9 with SMTP id p12-20020a1709028a8c00b0013e45bce9a9mr5975745plo.11.1633447924706; Tue, 05 Oct 2021 08:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633447924; cv=none; d=google.com; s=arc-20160816; b=SCPMq29Zmzz/grerImtwHpQZRywKvQVV5verVBAAM5y51leCGVrlNXTZS8r44G+ArO O72uzqsz10KfkrLRVPZl994umC9YxKXX58eNArHN3YmnXellIeJHa/Z1REcbS1upE2bf WKNVhTaZCXjmxmksxs3tSscNExCllzC/NWB6fxIUQxGRCM1GAbeydZ9rN2sfnynCHX2B 5G7IouR1UQmqMdVViNuGWRuZL+s9u95GPNTKiebw4Z8DAoNX9uyS7Rkm+ehPBIVC8y2t +k760RcOR9BfXlPW3ImHPvO1u91J/8tftiiVpo+rjrEBvFPmrET6BeWp6bWomIcYndC5 2PKA== 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; bh=dRiI/NeTBgavGapnzSZ1ww3PjVOFP1Lu9ChfjuM8WT8=; b=z0CMiA2n9xBIj2jiocvG5LyfvYEYR8qb6PvaosgICOF3JlIuhfFogd6v7kCRkiqQLJ HTrECzyAjjolG49TVWNEb2pcJ0x8AGvaukUasoI6vIQ/E1wDbA19b19c5f1E352XMaBH 7iSVhF5tVAUISOzrtag0JO5MpQ9AM+CMwnIvYZe+UiYqBFBVkEsuPt/d1q2TG00rARDW wHt7fkk5yXinRNFaFQVDd72V9llzeDD8AYkE7VccAHjF1kBQBJHdRpIpYiB+kQ8Y1DFX Et1S0HhdqpySq7t/cEwuC5L/nRbj9Cjt2Wk0NbsqPAEhoDpXSdevRcp4UXn/0vnaqe0n qSuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qe18si3014897pjb.127.2021.10.05.08.31.50; Tue, 05 Oct 2021 08:32:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231513AbhJEPbS (ORCPT + 99 others); Tue, 5 Oct 2021 11:31:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233705AbhJEPbS (ORCPT ); Tue, 5 Oct 2021 11:31:18 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F363C06174E for ; Tue, 5 Oct 2021 08:29:27 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:9ca4:a53a:9ffa:e003]) by albert.telenet-ops.be with bizsmtp id 2FVR2600L11933306FVRFb; Tue, 05 Oct 2021 17:29:26 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mXmNh-002Hd8-6Z; Tue, 05 Oct 2021 17:29:25 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mXmNg-005lAW-2g; Tue, 05 Oct 2021 17:29:24 +0200 From: Geert Uytterhoeven To: Krzysztof Kozlowski , Lad Prabhakar , Wolfram Sang , Sergey Shtylyov Cc: Philipp Zabel , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] memory: RENESAS_RPCIF should select RESET_CONTROLLER Date: Tue, 5 Oct 2021 17:29:22 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Renesas RPC-IF driver calls devm_reset_control_get_exclusive(), which returns -ENOTSUPP if CONFIG_RESET_CONTROLLER is not enabled. Signed-off-by: Geert Uytterhoeven --- v2: - Drop bogus part about reset_control_reset() failures. --- drivers/memory/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 72c0df129d5c5065..547f956f6c29e9bd 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -210,6 +210,7 @@ config RENESAS_RPCIF tristate "Renesas RPC-IF driver" depends on ARCH_RENESAS || COMPILE_TEST select REGMAP_MMIO + select RESET_CONTROLLER help This supports Renesas R-Car Gen3 or RZ/G2 RPC-IF which provides either SPI host or HyperFlash. You'll have to select individual -- 2.25.1