Skip to content
Commit 0198b7d5 authored by Tristan Honscheid's avatar Tristan Honscheid Committed by Carles Cufí
Browse files

emul: Add stub `release` impl. for emulated SPI driver



`release` is a mandatory method in the `struct spi_driver_api` API but
is not implemented in the SPI emulator. This can cause a test calling
`spi_release()` to segfault. Add a stub implementation that just returns
zero.

Signed-off-by: default avatarTristan Honscheid <honscheid@google.com>
parent 7ef2744e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment