diff options
| author | Ping Li <pingli@codeaurora.org> | 2015-12-15 19:27:57 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:14:40 -0700 |
| commit | 207a40bd09ab4c9fe3c3d36e9ba8b314f08358df (patch) | |
| tree | 5876866cd68acda2974ed09a6eb7cefe32cf7926 /include/linux | |
| parent | 1f05cf89cfdc350186bd0df5611521ee00b6c47c (diff) | |
msm: mdss: Correctly reset the ad_events count
Reset the ad_events count in the AD ioctl instead of ad_setup().
There are some time delay between AD ioctl and ad_setup, which is
part of the display commit path, so if we reset the ad_event count
in ad_setup, then it is possible that user space reads the ad_events
sysfs node after the AD ioctl but before the ad_setup(). In that
case, user space may get the incorrect ad_events count, and cause
the gradual AD off fail.
Change-Id: I13f2043a6a21be7e49b44a964b00b0aa4315dc17
Signed-off-by: Ping Li <pingli@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
