diff options
| author | Benet Clark <benetc@codeaurora.org> | 2014-05-21 20:35:54 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:30:15 -0700 |
| commit | dde9a173065aa70645100aad3ea96999248f3602 (patch) | |
| tree | a8aea98354d0b10466b048af6259d2771cb39e38 /include/linux | |
| parent | c02df0f77fe0ad9d86931f7f44345cf06fc5fd01 (diff) | |
msm: mdss: Initialize ad_info completion during dt probe only
Previously, the ad_info completion structure was initialized every
time ad_input was called, which reset the completion wait_queue. A
completion structure should only be initialized once, in order to
prevent any corruptions of the wait_queue. Instead, we initialize
the completion during dt probe so that the wait_queue is only
initialized once, and during ad_input, we use a safer INIT_COMPLETION
for resetting complete count.
Change-Id: If1fb7c9a9dec2ad1ec1f07b022bdeabe1af41b22
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
