UBUNTU: SAUCE: mei: vsc: Enhance SPI transfer of IVSC rom
BugLink: https://bugs.launchpad.net/bugs/2067364
Constructing the SPI transfer command as per the specific request.
Fixes: 566f5ca976 ("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>
(cherry picked from https://lore.kernel.org/all/20240624014223.4171341-3-wentong.wu@intel.com/)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Timo Aaltonen <tjaalton@ubuntu.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
@@ -331,7 +331,7 @@ int vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, size_t len)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = vsc_tp_dev_xfer(tp, tp->tx_buf, tp->rx_buf, len);
|
||||
ret = vsc_tp_dev_xfer(tp, tp->tx_buf, ibuf ? tp->rx_buf : ibuf, len);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user