]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the units of some registers for RTL8156A
authorHayes Wang <hayeswang@realtek.com>
Thu, 18 Aug 2022 08:06:19 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2022 13:28:59 +0000 (14:28 +0100)
commit5ddbd61f092bb0cb2d8d00973942b8c8d20eda94
tree2576cb71ea7e52ec943cb36f00f7d1b461f03309
parent7a8449f3dea5e453a17a01bf86a73ef559603e4d
r8152: fix the units of some registers for RTL8156A

The units of PLA_RX_FIFO_FULL and PLA_RX_FIFO_EMPTY are 16 bytes.

Fixes: 20d6936ad320 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c