commit | 141586bc57f6083f36c18d86e1cfa5916a1e7c05 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Jul 24 23:14:16 2009 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sun Jul 26 11:20:57 2009 -0700 |
tree | 2458a98edd2cbddcd981cb21723127feb5428d00 | |
parent | 75fba3b05d6ed82b975c1f8df8f8e08d5d81dee5 [diff] |
Input: tsc2007 - properly shut off interrupts/delayed work Properly shut off interrupts/delayed work by free-ing IRQ first and then ensuring that enable/disable is balanced. Also add __devinit/__devexit markings, restore poll delay/period scheduling logic, make sure we call exit_platform_hw() method when probe fails. Tested-by: Richard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>