aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGravatar Yuiko Oshino <yuiko.oshino@microchip.com> 2021-10-22 11:53:43 -0400
committerGravatar David S. Miller <davem@davemloft.net> 2021-10-24 13:38:56 +0100
commit95a359c9553342d36d408d35331ff0bfce75272f (patch)
tree67e637fa2a35f05e0584b4015d269c0d05fbb833 /net
parentnet: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails (diff)
downloadlinux-95a359c9553342d36d408d35331ff0bfce75272f.tar.gz
linux-95a359c9553342d36d408d35331ff0bfce75272f.tar.bz2
linux-95a359c9553342d36d408d35331ff0bfce75272f.zip
net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
The dma failure was reported in the raspberry pi github (issue #4117). https://github.com/raspberrypi/linux/issues/4117 The use of dma_set_mask_and_coherent fixes the issue. Tested on 32/64-bit raspberry pi CM4 and 64-bit ubuntu x86 PC with EVB-LAN7430. Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver") Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions