diff options
| author | Quang Nguyen <quang.nguyen.wx@renesas.com> | 2026-06-18 09:19:30 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-18 19:20:56 +0100 |
| commit | 7b25dbafa2fce50b1a48c1d057adb35da3563f9b (patch) | |
| tree | d7aacf18c2f5b8f019e39771e9f1f6b474b0b8a6 /mm/tests/git@git.tavy.me:linux.git | |
| parent | 12aad822fb9a761f3a9d278083a5bdcb1524e5ec (diff) | |
spi: rpc-if: Use correct device for hardware reinitialization on resume
rpcif_spi_resume() currently passes the SPI controller device to
rpcif_hw_init(), but the function should be called with the RPC
interface device.
Retrieve the rpcif private data from the SPI controller and pass
rpc->dev instead. Also propagate the return value of rpcif_hw_init() so
that a failure during resume is properly reported rather than silently
ignored.
Fixes: ad4728740bd6 ("spi: rpc-if: Add resume support for RZ/G3E")
Signed-off-by: Quang Nguyen <quang.nguyen.wx@renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260618081932.172168-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
