]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ads7846: make the suspend function sleep instead of busy poll
authorJuha Yrjola <juha.yrjola@nokia.com>
Tue, 14 Feb 2006 15:23:36 +0000 (17:23 +0200)
committerJuha Yrjola <juha.yrjola@nokia.com>
Tue, 14 Feb 2006 15:23:36 +0000 (17:23 +0200)
commit071a568a4d89c0bff7dd5e6a4906066be317db2c
tree6f26a971d83ab0d6b331f740b3933800cfdff1bd
parentf7ec4d7d853f45beeb89c5e5782be706f4f6f8b7
ads7846: make the suspend function sleep instead of busy poll

ads7846_suspend was busily polling for a couple of variables,
which never get a chance to change state unless kernel pre-emption
is enabled.  Use msleep instead.

Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
drivers/input/touchscreen/ads7846.c