]> err.no Git - linux-2.6/commit
Input: ads7846 - miscellaneous fixes
authorImre Deak <imre.deak@nokia.com>
Wed, 12 Apr 2006 03:43:55 +0000 (23:43 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 12 Apr 2006 03:43:55 +0000 (23:43 -0400)
commit7de90a8cb9c51145d7f60d8db17ce0fa07d1b281
tree81e2c0a54974c0a552474f5c5cc66d6082a8bfdd
parentc4febb94dae915da4423b81c487eabed9cef5cba
Input: ads7846 - miscellaneous fixes

- Add disable attribute to support device locking mode where
  unintentional touch event shouldn't wake up the system;
- Update comments;
- 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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c