2021-10-05 15:32:05

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH v2] memory: 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 <[email protected]>
---
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


2021-10-05 15:58:33

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH v2] memory: RENESAS_RPCIF should select RESET_CONTROLLER

On Tue, Oct 05, 2021 at 05:29:22PM +0200, Geert Uytterhoeven wrote:
> 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 <[email protected]>

Ah, here is the updated version :)

Reviewed-by: Wolfram Sang <[email protected]>


Attachments:
(No filename) (381.00 B)
signature.asc (849.00 B)
Download all attachments

2021-10-07 19:49:20

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] memory: RENESAS_RPCIF should select RESET_CONTROLLER

On Tue, 5 Oct 2021 17:29:22 +0200, Geert Uytterhoeven wrote:
> The Renesas RPC-IF driver calls devm_reset_control_get_exclusive(),
> which returns -ENOTSUPP if CONFIG_RESET_CONTROLLER is not enabled.
>
>

Applied, thanks!

[1/1] memory: RENESAS_RPCIF should select RESET_CONTROLLER
commit: 4a26df8e60e534110f37e23c068f25f2f523bb83

Best regards,
--
Krzysztof Kozlowski <[email protected]>