realtek: 5.15: Improve rtl838x dsa driver error handling
authorPascal Ernster <git@hardfalcon.net>
Thu, 5 Jan 2023 05:35:35 +0000 (06:35 +0100)
committerSander Vanheule <sander@svanheule.net>
Thu, 5 Jan 2023 22:08:13 +0000 (23:08 +0100)
commita188536ef6507e30cba218182e673349ea48cbe7
treee270e44f8ecc8718fa95ae3ce695f5cbf0f00b40
parentde2dc3feaea7deefcc816fb09167211965fdde9b
realtek: 5.15: Improve rtl838x dsa driver error handling

Make sure functions calling rtl838x_smi_wait_op() return its return
value in target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c.
This brings the code style in line with the rtl839x implementation.

Suggested-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Pascal Ernster <git@hardfalcon.net>
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c