diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2024-02-13 15:48:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 14:10:06 +0300 |
commit | c9f1010d3a090153f5f6900dbdbbe7643d08f974 (patch) | |
tree | 711be7dc77f18ee1165082baba12d77d8b79596c /drivers/hid/hid-steelseries.c | |
parent | 88d6a73fc19cb823a5793f069e5eb7e67766bedb (diff) | |
download | linux-c9f1010d3a090153f5f6900dbdbbe7643d08f974.tar.xz |
i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
[ Upstream commit c94612a72ac87b0337a0d85b9263266776ed4190 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid/hid-steelseries.c')
0 files changed, 0 insertions, 0 deletions