summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-02-15 12:25:10 +0000
committerVinod Koul <vinod.koul@intel.com>2018-03-01 14:14:27 +0530
commit54eb5e26cbb72ba77588098385bf5f492b8323ae (patch)
treeeb61c2108418587b6027ca42a1f5d043853d71bd /mm
parent48d163b1aa6e7f650c0b7a4f9c61c387a6def868 (diff)
downloadlinux-54eb5e26cbb72ba77588098385bf5f492b8323ae.tar.bz2
dmaengine: qcom: bam_dma: do not write to global regs in remote mode
BAM_DESC_CNT_TRSHLD register is global register, which can only be written when BAM is in master mode, So check the mode of operation before writing it. Without this check SOC's xPU would catch such access and crash the system. First noticed on DB820c while testing SLIMBus BAM. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions