commit | beeb4ca466fa1c399d69e34c30ddf04e0b7cbefd | [log] [tgz] |
---|---|---|
author | John Crispin <blogic@openwrt.org> | Fri Apr 08 00:54:05 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 12 22:41:32 2016 -0400 |
tree | 94e60756f4765bf537c3776654b86e960aeebc75 | |
parent | 82500aa01ad12eff41a9a68ad01f1d40db8921f9 [diff] |
net: mediatek: mtk_cal_txd_req() returns bad value The code used to also support the PDMA engine, which had 2 packet pointers per descriptor. Because of this we had to divide the result by 2 and round it up. This is no longer needed as the code only supports QDMA. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>