Commit 4b5bf39c authored by Kinjal Bhavsar's avatar Kinjal Bhavsar Committed by Pravin Tamkhane
Browse files

msm_fb: display: Add timeout for waiting on update



Content Adaptive BackLight userspace algo waits on UPDATE_NOTIFY to
get the screen updates. When turning off CABL, this blocking ioctl
causes the CABL threads to wait until next screen update, which may
take indefinite time.

Add timeout value to the wait_for_completion call, to make ioctl
call blocking for at most timeout value.

CRs-Fixed: 384026
Change-Id: I6715a36020c24ddd09823bd54d4321900429a6b9
Signed-off-by: default avatarKinjal Bhavsar <kbhavsar@codeaurora.org>
Signed-off-by: default avatarPravin Tamkhane <pravint@codeaurora.org>
parent 79b217ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment