summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-max8997.c
diff options
context:
space:
mode:
authorClement Leger <cleger@kalray.eu>2019-07-01 09:02:45 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-07-01 19:09:01 -0700
commit72f64cabc4bd6985c7355f5547bd3637c82762ac (patch)
treef26dbdcee15eb83e396607632c6e1bdacce1eeda /drivers/leds/leds-max8997.c
parentf04b913834569efbbee442f2a3fb6199ce94dbbc (diff)
downloadlinux-72f64cabc4bd6985c7355f5547bd3637c82762ac.tar.bz2
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 <cleger@kalray.eu> Acked-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
0 files changed, 0 insertions, 0 deletions