summaryrefslogtreecommitdiff
path: root/net/dsa/slave.c
diff options
context:
space:
mode:
authorBenjamin Chan <bkchan@codeaurora.org>2020-04-13 17:49:37 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-04-28 04:27:29 -0700
commit7203b36f3946f1109a5376dbbd196736d57ea5f5 (patch)
tree3ed7ae088fb0f7d2513d45d549b502e2ded081fc /net/dsa/slave.c
parentfcce82ebdf6c8ca68c0277ffa828487c52e8d895 (diff)
msm: sde: fix mem access of sde rotator regdma ram
regdma ram of sde rotator is mapped as device io, so any write access to it should be using writel interface. A direct u32 pointer manipulation will easily cause access page fault due to compiler optimization. This fix includes the following: - add proper __iomem attribute to allow sparse checking - using writel_releaxed_no_log macro for all write access to the regdma ram - maintain 32bit alignment for any regdma write pointer update. Change-Id: Idbb0681d501b4d960fddc80ac821c5564265ffc2 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org> Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions