summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-10-05 17:29:22 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-10-07 20:36:12 +0200
commit4a26df8e60e534110f37e23c068f25f2f523bb83 (patch)
treed16f53bd9f21343ea4ae28a669f62295003498f0
parent1869023e24c0de73a160a424dac4621cefd628ae (diff)
downloadlinux-4a26df8e60e534110f37e23c068f25f2f523bb83.tar.gz
linux-4a26df8e60e534110f37e23c068f25f2f523bb83.tar.bz2
linux-4a26df8e60e534110f37e23c068f25f2f523bb83.zip
memory: renesas-rpc-if: RENESAS_RPCIF should select RESET_CONTROLLER
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 <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/e443aa66d146da5646b7ebece8876545b8621063.1633447756.git.geert+renesas@glider.be Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-rw-r--r--drivers/memory/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index 72c0df129d5c..547f956f6c29 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