aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorClement Leger <[email protected]>2019-07-01 09:02:45 +0200
committerBjorn Andersson <[email protected]>2019-07-01 19:09:01 -0700
commit72f64cabc4bd6985c7355f5547bd3637c82762ac (patch)
treef26dbdcee15eb83e396607632c6e1bdacce1eeda /net/lapb/lapb_subr.c
parentf04b913834569efbbee442f2a3fb6199ce94dbbc (diff)
remoteproc: copy parent dma_pfn_offset for vdev
When preparing the subdevice for the vdev, also copy dma_pfn_offset since this is used for sub device dma allocations. Without that, there is incoherency between the parent dma settings and the childs one, potentially leading to dma_alloc_coherent failure (due to phys_to_dma using dma_pfn_offset for translation). Fixes: 086d08725d34 ("remoteproc: create vdev subdevice with specific dma memory pool") Signed-off-by: Clement Leger <[email protected]> Acked-by: Loic Pallardy <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions