Skip to content
Commit 2c36616d authored by Aditya Bhutada's avatar Aditya Bhutada Committed by Benjamin Cabé
Browse files

drivers: espi: espi_mchp_xec: Fix the VW change check time



Adjusted the VW change check timings:
- Polling time changed from 100 uSec to 1 uSec.
- Timeout value changed from 10 mSec to 1 mSec.

This is to achieve the lowest possible pulse width for SCI VW in S0,
while ensuring that the VW change check is still reliable for S0iX
where SoC may take longer to process upstream events.

Also added -ETIMEDOUT error when failure.

Signed-off-by: default avatarAditya Bhutada <aditya.bhutada@intel.com>
parent 9cadc8cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment