aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHeiko Stuebner <[email protected]>2015-11-09 19:52:43 +0000
committerMark Yao <[email protected]>2015-12-02 01:13:17 +0000
commita8594f20cafadb6ba58f915dea5f2c94a9333b1a (patch)
tree5545802c21d3560827cf7c19d0e919dfd44e3da1 /drivers/fpga/fpga-mgr.c
parentdrm/rockchip: vop: Correct enabled clocks during setup (diff)
downloadkernel-a8594f20cafadb6ba58f915dea5f2c94a9333b1a.tar.gz
kernel-a8594f20cafadb6ba58f915dea5f2c94a9333b1a.zip
drm/rockchip: unset pgoff when mmap'ing gems
Commit 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()") introduced offset-checking for mappings, which collides with the fake-offset the drm sets for gems. Other drm-drivers set this offset to 0 before doing the mapping, so this looks like the correct way to go for rockchip as well. Fixes: 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()") Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions