commit | a42ed24bdc1a1ab8e2c0148430df063ee0679d18 | [log] [tgz] |
---|---|---|
author | David Collins <collinsd@codeaurora.org> | Wed Sep 12 14:58:54 2012 -0700 |
committer | David Collins <collinsd@codeaurora.org> | Thu Sep 13 00:46:34 2012 -0700 |
tree | cca2e54868b63ede6b9822322a3bb07c3ec11b7e | |
parent | 76e6e2a17d89d79711ecff9182f12460368bd5d9 [diff] |
thermal: pm8xxx-tm: Use delayed_work task for temp alarm status reading Use a delayed_work task to wait at least 40 ms in order for the temp alarm status value to be updated after the TEMP_STAT IRQ goes high. Also remove IRQ enable and disable calls in the ISR since the work item can only be enqueued once before it is run. Change-Id: Ib5f13d0e82258b399749de96152c081d71981909 Signed-off-by: David Collins <collinsd@codeaurora.org>