commit | c3ac751944ab8ca89d8b2e33fa58920798a4400c | [log] [tgz] |
---|---|---|
author | Lad Prabhakar <[email protected]> | Mon Oct 25 21:56:27 2021 +0100 |
committer | Greg Kroah-Hartman <[email protected]> | Thu Nov 18 14:04:11 2021 +0100 |
tree | 4ebd847745a0487510e7d18778a869c7fd3a389f | |
parent | 5b7b4afead622a8ee80eb820d7150f02d7a7628f [diff] |
spi: spi-rpc-if: Check return value of rpcif_sw_init() [ Upstream commit 0b0a281ed7001d4c4f4c47bdc84680c4997761ca ] rpcif_sw_init() can fail so make sure we check the return value of it and on error exit rpcif_spi_probe() callback with error code. Fixes: eb8d6d464a27 ("spi: add Renesas RPC-IF driver") Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Sasha Levin <[email protected]>