Commit a9e8fe38 authored by Wentong Wu's avatar Wentong Wu Committed by Greg Kroah-Hartman

mei: vsc: Prevent timeout error with added delay post-firmware download

After completing the firmware download, the firmware requires some
time to become functional. This change introduces additional sleep
time before the first read operation to prevent a confusing timeout
error in vsc_tp_xfer().

Fixes: 566f5ca9 ("mei: Add transport driver for IVSC device")
Cc: stable@vger.kernel.org # for 6.8+
Signed-off-by: default avatarWentong Wu <wentong.wu@intel.com>
Tested-by: default avatarJason Chen <jason.z.chen@intel.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20240625081047.4178494-3-wentong.wu@intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 07de60a4
......@@ -28,8 +28,8 @@
#define MEI_VSC_MAX_MSG_SIZE 512
#define MEI_VSC_POLL_DELAY_US (50 * USEC_PER_MSEC)
#define MEI_VSC_POLL_TIMEOUT_US (200 * USEC_PER_MSEC)
#define MEI_VSC_POLL_DELAY_US (100 * USEC_PER_MSEC)
#define MEI_VSC_POLL_TIMEOUT_US (400 * USEC_PER_MSEC)
#define mei_dev_to_vsc_hw(dev) ((struct mei_vsc_hw *)((dev)->hw))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment