summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenet Clark <benetc@codeaurora.org>2014-05-21 20:35:54 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:30:15 -0700
commitdde9a173065aa70645100aad3ea96999248f3602 (patch)
treea8aea98354d0b10466b048af6259d2771cb39e38 /include/linux
parentc02df0f77fe0ad9d86931f7f44345cf06fc5fd01 (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