]> 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)
commitc06ac9e4af5bd34cac6e895eb82a3bbefc00060a
tree604421402a13b43b4f246c69c9982192c766f6ea
parent2e980220f169ccd135f28f92842168db4b4a882b
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