mirror of https://github.com/torvalds/linux.git
spi: rpc-if: Add resume support for RZ/G3E
On RZ/G3E using PSCI, s2ram powers down the SoC. After resume, reinitialize the hardware for SPI operations. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://patch.msgid.link/20250921112649.104516-3-biju.das.jz@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
81ef2022b3
commit
ad4728740b
|
|
@ -207,6 +207,8 @@ static int rpcif_spi_resume(struct device *dev)
|
||||||
{
|
{
|
||||||
struct spi_controller *ctlr = dev_get_drvdata(dev);
|
struct spi_controller *ctlr = dev_get_drvdata(dev);
|
||||||
|
|
||||||
|
rpcif_hw_init(dev, false);
|
||||||
|
|
||||||
return spi_controller_resume(ctlr);
|
return spi_controller_resume(ctlr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue