Skip to content
Commit 3cd795ba authored by Frank Duerr's avatar Frank Duerr Committed by Benjamin Cabé
Browse files

drivers: ethernet: fixed calling mutex from ISR



The NXP ENET driver used a mutex inside an ISR.
Since mutexes are not allowed in ISR, an assertion had been triggered.
The mutex is not required since a semaphore ensures sequential writing
(in ISR) and subsequent reading (after eth_wait_for_ptp_ts()).
Fixed by removing calls to mutex.

Signed-off-by: default avatarFrank Duerr <frank.duerr@ipvs.uni-stuttgart.de>
parent 405ab182
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment