summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti
diff options
context:
space:
mode:
authorTomasz Figa <tfiga@chromium.org>2016-09-14 21:54:54 +0900
committerSean Paul <seanpaul@chromium.org>2016-09-21 06:55:49 -0700
commitfa374107c1c7c483263e360cba68d078231eeb6a (patch)
tree942066355c9a0beefb0f064bedaeafa227e0d3d1 /drivers/gpu/drm/sti
parentbe91a983eaf272ed0a982e7c92b47e78d7ccc51a (diff)
drm/rockchip: Clear interrupt status bits before enabling
The enable register only masks the raw status bits to signal CPU interrupt only for enabled interrupts. The status bits are activated regardless of the enable register. This means that we might have an old interrupt event queued, which we are not interested in. To avoid getting a spurious interrupt signalled, we have to clear the old bit before we update the enable register. Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/sti')
0 files changed, 0 insertions, 0 deletions