Skip to content
Commit c2f5a9d6 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Carles Cufí
Browse files

drivers: net: lan865x: Do not read chunks if protected read error detected



The oa_tc6_update_buf_info() function returns error code when read
(protected or not) of OA_BUFSTS has been detected.

In that situation - one shall re-start the interrupt thread handling
(and hence correctly re-read value of this register) than use old
(stalled) RCA(RBA) data to read chunks (which may result in lockup).

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
parent aa733d78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment