commit | 3f219c4a8a8714019237015add23de67da3bdaac | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Apr 02 11:01:28 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Apr 02 11:01:28 2013 -0700 |
tree | 8d7f4400ad651446fd575bb0eb5f3b60e356ce9d | |
parent | d8210720019d317b9ba42bc009b66de69c1676a5 [diff] |
hwmon: qpnp-adc-current: Add init_completion Initialize the completion before requesting a conversion. This is to avoid cases where we might miss the completion and rely on the timed wait which would cause slight delay before returning the result to the client. Change-Id: I49b635699c3432ca8363d68493ea02e17f7c6c64 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>