Skip to content
Commit 32cf1f7d authored by Georgij Cernysiov's avatar Georgij Cernysiov Committed by Carles Cufí
Browse files

drivers: ethernet: adin2111: oa: fix thread termination



If OA read fails, then the essential thread is terminated.
Correct the behavior so that the driver re-tries the read and
continues to work.

Refactor offload thread OA and Generic SPI parts into
if/else statement.

Add missing `is_adin2111` to OA port 2 RX status check.

Signed-off-by: default avatarGeorgij Cernysiov <geo.cgv@gmail.com>
parent 4b160710
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment