]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Fix bad irqsave/restore in tegra_dc_finish_page_flip()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Jan 2015 11:01:26 +0000 (14:01 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:40 +0000 (10:14 +0100)
commitdab2eba3c26f3cc7f43c6a133150f65db77f6d0c
tree256349ea95e6381ee48657b2a573656e7c901ab8
parent889a13c571ec21128a14c07056d5020c154be3b7
drm/tegra: dc: Fix bad irqsave/restore in tegra_dc_finish_page_flip()

We can't save two values to the IRQ flags at the same time so the IRQs
are not enabled at the end.  This kind of bug is easy to miss in testing
if the function is normally called with IRQs disabled so we wouldn't
enable IRQs anyway.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c