Skip to content
Commit ca7a66d7 authored by Dean Sellers's avatar Dean Sellers Committed by Carles Cufí
Browse files

drivers: ethernet: enc28j60: Prevent infinate loop on driver init



In the case that there is a situation where the controller
oscillator start-up timer doesn't expire, or the SPI can't
read the CLKRDY bit the driver would hang during init.
The config option ETH_ENC28J60_CLKRDY_INIT_WAIT_MS sets
the time that the driver will wait for OST before returning
an ETIMEDOUT error.

Signed-off-by: default avatarDean Sellers <dsellers@evos.com.au>
parent 942b99a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment