Skip to content

Commit ad47287

Browse files
bijudasbroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 81ef202 commit ad47287

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/spi/spi-rpc-if.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ static int rpcif_spi_resume(struct device *dev)
207207
{
208208
struct spi_controller *ctlr = dev_get_drvdata(dev);
209209

210+
rpcif_hw_init(dev, false);
211+
210212
return spi_controller_resume(ctlr);
211213
}
212214

0 commit comments

Comments
 (0)