Commit 3573291c authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman
Browse files

net: ethernet: oa_tc6: Handle failure of spi_setup



commit b3852ae3 upstream.

There is no guarantee that spi_setup succeed, so properly handle
the error case.

Fixes: aa58bec0 ("net: ethernet: oa_tc6: implement register write operation")
Signed-off-by: default avatarStefan Wahren <wahrenst@gmx.net>
Cc: stable@kernel.org
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250827115341.34608-2-wahrenst@gmx.net


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 089fd419
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment