commit | ea7bd6f458c66c5fed1c1436c8e4119f1457aaa4 | [log] [tgz] |
---|---|---|
author | Bhalchandra Gajare <gajare@codeaurora.org> | Thu Oct 17 15:21:25 2013 -0700 |
committer | Bhalchandra Gajare <gajare@codeaurora.org> | Thu Oct 24 18:05:14 2013 -0700 |
tree | b6d4b30c1c15e50017ca434f3a00272272cd5265 | |
parent | 3db2ac2de9dcce557151c11529fe83dbe98364ba [diff] |
mfd: wcd9xxx_irq: Fix the condition to lock/unlock sleep When codec raises interrupt and the system is suspended, the driver waits for parent to resume. Fix the condition in wait_for_event to prevent checking against stale value of suspend state during wait. CRs-fixed: 554056 Change-Id: If36f366861ec28b52d621a884853e8a9467fa337 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>