Skip to content
Snippets Groups Projects
Commit f02d1bee authored by Chris Fries's avatar Chris Fries Committed by Iliyan Malchev
Browse files

input: atmel_mxt_ts_mmi: Use atomic "suspended" flag


Change flag "suspended" to atomic, to fix races with multiple suspend
and resume callers.

Also, use a different "poweron" flag instead of suspend, to decide how
to deal with the interrupt, since the order of setting/clearing the
suspended flag doesn't line up with the intended usage.

Signed-off-by: default avatarChris Fries <cfries@motorola.com>
parent d7c892de
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment