memory: renesas-rpc-if: RENESAS_RPCIF should select RESET_CONTROLLER
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 Oct 2021 15:29:22 +0000 (17:29 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 7 Oct 2021 18:36:12 +0000 (20:36 +0200)
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>
drivers/memory/Kconfig

index 72c0df129d5c50658fca2e56e8e9694c628e187d..547f956f6c29e9bdaa209a1e5a33aa9bf8ef552f 100644 (file)
@@ -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