Skip to content
Commit 1c0b114b authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Maureen Helm
Browse files

sd: add timeout when taking SD card lock for data operations



Previously, if an SD I/O operation was attempted while another thread
held the mutex for the SD card, the I/O operation would simply fail. Add
a timeout to k_mutex_lock calls within the SD subsystem, so that
multithreaded access to the SD card instead blocks until the SD card is
available for I/O

Fixes #66211

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 8785438d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment