]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: mali-dp: Clear the config_valid flag before using it in wait_event.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 21 Jul 2016 15:09:38 +0000 (16:09 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 2 Nov 2016 23:04:58 +0000 (23:04 +0000)
commitaad389634066e35be0114edca6d26efda6ab884d
tree7ff42d031ed9072e6d22408f560653692dbe0385
parentfb422950c6cd726fd36eb72a7cf84583440a18a2
drm: mali-dp: Clear the config_valid flag before using it in wait_event.

config_valid variable is used to signal the activation of the CVAL
request when the vsync interrupt has fired. malidp_set_and_wait_config_valid()
uses the variable in wait_event_interruptible_timeout without clearing it
first, so the wait is skipped.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.c