]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mei: vsc: Enhance SPI transfer of IVSC ROM
authorWentong Wu <wentong.wu@intel.com>
Tue, 25 Jun 2024 08:10:46 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2024 10:21:39 +0000 (12:21 +0200)
commit43407254b8a36638bb2efa737a510c96e573aafd
tree6133e7c82abc4aae49cfd99a1d99c2fa2fd23fbd
parenta896a8a127f45d00fb69fa7536955aa9b2e5d610
mei: vsc: Enhance SPI transfer of IVSC ROM

Before downloading firmware, a command response is required to
identify the silicon. However, when downloading IVSC firmware,
reading data from the SPI transfers with the IVSC ROM is not
necessary. Therefore, the rx buffer of SPI transfer command is
determined based on the specific request of the caller.

Fixes: 566f5ca97680 ("mei: Add transport driver for IVSC device")
Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Tested-by: Jason Chen <jason.z.chen@intel.com>
Acked-by: Tomas Winker <tomas.winker@intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20240625081047.4178494-5-wentong.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/vsc-tp.c