]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: lantiq: dma: add dev pointer
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 9 Sep 2018 19:26:23 +0000 (21:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:33:19 +0000 (23:33 -0700)
commit797a37e77c680cef31e4152f35d75cdb59cc7c28
tree604421402a13b43b4f246c69c9982192c766f6ea
parent7ef1c543a168c3fbefaf4ac5cbb493e74e474429
MIPS: lantiq: dma: add dev pointer

dma_zalloc_coherent() now crashes if no dev pointer is given.
Add a dev pointer to the ltq_dma_channel structure and fill it in the
driver using it.

This fixes a bug introduced in kernel 4.19.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/include/asm/mach-lantiq/xway/xway_dma.h
arch/mips/lantiq/xway/dma.c
drivers/net/ethernet/lantiq_etop.c