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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:16:38 +0000 (17:16 +0200)
commit59cfae681ffb1800bff49b3c89c07244ce73d5d5
tree370b9b099ff862be81f0a7d0ab1f543904b3b99a
parent9cf85759e104d7e9c3fd8920a554195b715d6797
r8152: fix the units of some registers for RTL8156A

[ Upstream commit 6dc4df12d741c0fe8f885778a43039e0619b9cd9 ]

The units of PLA_RX_FIFO_FULL and PLA_RX_FIFO_EMPTY are 16 bytes.

Fixes: 195aae321c82 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/r8152.c