diff options
author | 2024-02-13 14:48:46 +0200 | |
---|---|---|
committer | 2024-02-27 01:51:34 +0100 | |
commit | c94612a72ac87b0337a0d85b9263266776ed4190 (patch) | |
tree | 940156d4523f727487b6233a2556f6ad52781b2e /scripts/generate_rust_analyzer.py | |
parent | i2c: designware: Move interrupt handling functions before i2c_dw_xfer() (diff) | |
download | linux-rng-c94612a72ac87b0337a0d85b9263266776ed4190.tar.xz linux-rng-c94612a72ac87b0337a0d85b9263266776ed4190.zip |
i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
I believe RX FIFO depth define 0 is incorrect on Wangxun 10Gb NIC. It
must be at least 1 since code is able to read received data from the
DW_IC_DATA_CMD register.
For now this define is irrelevant since the txgbe_i2c_dw_xfer_quirk()
doesn't use the rx_fifo_depth member variable of struct dw_i2c_dev but
is needed when converting code into generic polling mode implementation.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jiawen Wu <jiawenwu@trustnetic.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions