raw/ifpga/base: fix SPI transaction
authorTianfei Zhang <tianfei.zhang@intel.com>
Tue, 14 Jul 2020 21:35:08 +0000 (05:35 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jul 2020 22:42:11 +0000 (00:42 +0200)
commit6f583cd8b01b5b6568668ce8efb78d3eaaa55b61
tree8f603909659c6af588c42e2bcb448cb3fbeaa906
parent604052ae5395882601f6cc53eeafd15846d73d37
raw/ifpga/base: fix SPI transaction

0x4a means idle status on physical layer. when encounter
0x4a on raw data, it need insert a ESCAPE character for
indication.

Fixes: 96ebfcf8 ("raw/ifpga/base: add SPI and MAX10 device driver")
Cc: stable@dpdk.org
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga/base/opae_spi_transaction.c