Skip to content

Commit 4102010

Browse files
AdiIntelkartben
authored andcommitted
drivers: espi: Add return value to eSPI send_vwire API
Added note about return value to the eSPI send_vwire API in the header: -ETIMEDOUT & _EINVAL. Signed-off-by: Aditya Bhutada <aditya.bhutada@intel.com>
1 parent 2c36616 commit 4102010

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/zephyr/drivers/espi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ static inline int z_impl_espi_write_lpc_request(const struct device *dev,
728728
*
729729
* @retval 0 If successful.
730730
* @retval -EIO General input / output error, failed to send over the bus.
731+
* @retval -EINVAL invalid signal.
732+
* @retval -ETIMEDOUT timeout waiting for eSPI controller to process the VW.
731733
*/
732734
__syscall int espi_send_vwire(const struct device *dev,
733735
enum espi_vwire_signal signal,

0 commit comments

Comments
 (0)