]> www.infradead.org Git - linux.git/commit
mei: vsc: Prevent timeout error with added delay post-firmware download
authorWentong Wu <wentong.wu@intel.com>
Tue, 25 Jun 2024 08:10:44 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2024 10:21:39 +0000 (12:21 +0200)
commita9e8fe38195ae6f8e5b32907a17b397ff3ce3e48
tree9dea6615696767615e61fcf2abdf909d1faf17a0
parent07de60a46ae9c0583df1c644bae6d3b22d1d903d
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: 566f5ca97680 ("mei: Add transport driver for IVSC device")
Cc: stable@vger.kernel.org # for 6.8+
Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Tested-by: Jason Chen <jason.z.chen@intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20240625081047.4178494-3-wentong.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/platform-vsc.c