]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ads7846: Add disable sysfs entry / fix spin lock init, driver cleanup
authorImre Deak <imre.deak@nokia.com>
Mon, 20 Mar 2006 14:36:40 +0000 (10:36 -0400)
committerJuha Yrjola <juha.yrjola@nokia.com>
Mon, 20 Mar 2006 14:36:40 +0000 (10:36 -0400)
commit73a8a0d83750cbb3e438b0b2139abfbb58eceb44
tree99191e13ebca470b44d08f7f851ec1f585efa298
parente9582e0d1d42e6a08e27f9a392b9cc8241358579
ads7846: Add disable sysfs entry / fix spin lock init, driver cleanup

Add disable attribute to support device locking mode, where a
unintentional touch event shouldn't wake up the system.

Add missing spin_lock_init.

Do device resume with the lock held.

Do cleanup calls / free memory in the reverse order of initialization.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
drivers/input/touchscreen/ads7846.c