mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
[drivers][spi] Fixed an issue that caused spi bus deadlock in the spi configuration
This commit is contained in:
parent
65234401f3
commit
9b31631df1
@ -111,7 +111,7 @@ rt_err_t rt_spi_bus_configure(struct rt_spi_device *device)
|
||||
/* RT_EBUSY is not an error condition and
|
||||
* the configuration will take effect once the device has the bus
|
||||
*/
|
||||
return -RT_EBUSY;
|
||||
result = -RT_EBUSY;
|
||||
}
|
||||
|
||||
/* release lock */
|
||||
|
Loading…
x
Reference in New Issue
Block a user