Input: winbond-cir - fix suspend/resume
authorDavid Härdeman <david@hardeman.nu>
Wed, 24 Feb 2010 10:08:29 +0000 (02:08 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 10:10:38 +0000 (02:10 -0800)
commit197d4db752e67160d79fed09968c2140376a80a3
treebfd234ae1faa2d78e84060e48f9dfb11fb5522cb
parenteb083ba260f21ad79e83e1ad05a0d27e93b58c83
Input: winbond-cir - fix suspend/resume

This fixes suspend/resume problem with the driver caused by the
fact that ACPI _DIS method would completely power off the SP3
module leaving the output lines (including IRQ lines) in an
undefined state. This could cause spurious interrupts and requires
reinitializing hardware from scratch during resume.

This fixes:

http://bugzilla.kernel.org/show_bug.cgi?id=15257

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/winbond-cir.c